From 769054ed771d1ff925725f763a16328fd66d68e5 Mon Sep 17 00:00:00 2001 From: leagrdv Date: Fri, 27 Dec 2024 12:38:01 +0100 Subject: [PATCH] small fixes on documentation --- .../components/app-store-badge/app-store-badge.stories.ts | 8 ++++---- .../src/stories/components/input/input.stories.ts | 1 - .../src/stories/utilities/opacity/opacity.stories.ts | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts b/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts index c0056b5037..acd0623f89 100644 --- a/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts +++ b/packages/documentation/src/stories/components/app-store-badge/app-store-badge.stories.ts @@ -22,12 +22,12 @@ const meta: MetaComponent = { description: 'Select between Google Play and Apple Store badge', control: { type: 'radio', + labels: { + 'google-play': 'Google Play', + 'apple-store': 'Apple Store', + }, }, options: ['google-play', 'apple-store'], - labels: { - 'google-play': 'Google Play', - 'apple-store': 'Apple Store', - }, table: { category: 'General', }, diff --git a/packages/documentation/src/stories/components/input/input.stories.ts b/packages/documentation/src/stories/components/input/input.stories.ts index f83a4a65c6..5002da2569 100644 --- a/packages/documentation/src/stories/components/input/input.stories.ts +++ b/packages/documentation/src/stories/components/input/input.stories.ts @@ -81,7 +81,6 @@ const meta: MetaComponent = { description: 'The components `type` attribute.', control: { type: 'select', - labels: {}, }, options: [ 'text', diff --git a/packages/documentation/src/stories/utilities/opacity/opacity.stories.ts b/packages/documentation/src/stories/utilities/opacity/opacity.stories.ts index 0372861e8e..f361728386 100644 --- a/packages/documentation/src/stories/utilities/opacity/opacity.stories.ts +++ b/packages/documentation/src/stories/utilities/opacity/opacity.stories.ts @@ -17,6 +17,9 @@ const meta: MetaExtended = { type: 'select', }, options: [0, 25, 50, 75, 100], + table: { + category: 'General', + }, }, }, render: (args: Args) => {