From b0afb9e4b083bdd7ced4d9f2e283fcedcecff3c9 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 24 Oct 2023 17:34:41 +0300 Subject: [PATCH] feat: create story with examples for current docs --- .../CurrentPlatformOSContent.stories.ts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/CurrentPlatformOSContent.stories.ts diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/CurrentPlatformOSContent.stories.ts b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/CurrentPlatformOSContent.stories.ts new file mode 100644 index 00000000..3169d7a2 --- /dev/null +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/CurrentPlatformOSContent.stories.ts @@ -0,0 +1,31 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import CurrentPlatformOSContent from './CurrentPlatformOSContent' +import { LINUX, MAC, WINDOWS } from '../../../../constants' + +const meta = { + title: 'ValidatorOnboarding/CurrentPlatformOSContent', + component: CurrentPlatformOSContent, + tags: ['autodocs'], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const MacOs: Story = { + args: { + selectedOS: MAC, + }, +} + +export const Windows: Story = { + args: { + selectedOS: WINDOWS, + }, +} + +export const Linux: Story = { + args: { + selectedOS: LINUX, + }, +}