summaryrefslogtreecommitdiff
path: root/spec/components
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-18 19:00:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-18 19:00:14 +0000
commit05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2 (patch)
tree11d0f2a6ec31c7793c184106cedc2ded3d9a2cc5 /spec/components
parentec73467c23693d0db63a797d10194da9e72a74af (diff)
downloadgitlab-ce-05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2.tar.gz
Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42
Diffstat (limited to 'spec/components')
-rw-r--r--spec/components/previews/pajamas/button_component_preview.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/components/previews/pajamas/button_component_preview.rb b/spec/components/previews/pajamas/button_component_preview.rb
index c07d898d9cd..13a04dc0d63 100644
--- a/spec/components/previews/pajamas/button_component_preview.rb
+++ b/spec/components/previews/pajamas/button_component_preview.rb
@@ -3,7 +3,7 @@ module Pajamas
class ButtonComponentPreview < ViewComponent::Preview
# Button
# ----
- # See its design reference [here](https://design.gitlab.com/components/banner).
+ # See its design reference [here](https://design.gitlab.com/components/button).
#
# @param category select {{ Pajamas::ButtonComponent::CATEGORY_OPTIONS }}
# @param variant select {{ Pajamas::ButtonComponent::VARIANT_OPTIONS }}
@@ -13,7 +13,7 @@ module Pajamas
# @param loading toggle
# @param block toggle
# @param selected toggle
- # @param icon text
+ # @param icon select [~, star-o, issue-closed, tanuki]
# @param text text
def default( # rubocop:disable Metrics/ParameterLists
category: :primary,
@@ -24,7 +24,7 @@ module Pajamas
loading: false,
block: false,
selected: false,
- icon: "pencil",
+ icon: nil,
text: "Edit"
)
render(Pajamas::ButtonComponent.new(