Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/components/previews/pajamas/badge_component_preview.rb')
-rw-r--r--spec/components/previews/pajamas/badge_component_preview.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/components/previews/pajamas/badge_component_preview.rb b/spec/components/previews/pajamas/badge_component_preview.rb
index e740a4a38aa..e833c4e458d 100644
--- a/spec/components/previews/pajamas/badge_component_preview.rb
+++ b/spec/components/previews/pajamas/badge_component_preview.rb
@@ -10,9 +10,9 @@ module Pajamas
# @param icon select [~, star-o, issue-closed, tanuki]
# @param icon_only toggle
# @param href url
- # @param size select [sm, md, lg]
+ # @param size select {{ Pajamas::BadgeComponent::SIZE_OPTIONS }}
# @param text text
- # @param variant select [muted, neutral, info, success, warning, danger]
+ # @param variant select {{ Pajamas::BadgeComponent::VARIANT_OPTIONS }}
def default(icon: :tanuki, icon_only: false, href: nil, size: :md, text: "Tanuki", variant: :muted)
render Pajamas::BadgeComponent.new(
text,