feat: create story with examples for current docs

This commit is contained in:
RadoslavDimchev 2023-10-24 17:34:41 +03:00
parent c29efcaeb7
commit b0afb9e4b0
1 changed files with 31 additions and 0 deletions

View File

@ -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<typeof CurrentPlatformOSContent>
export default meta
type Story = StoryObj<typeof meta>
export const MacOs: Story = {
args: {
selectedOS: MAC,
},
}
export const Windows: Story = {
args: {
selectedOS: WINDOWS,
},
}
export const Linux: Story = {
args: {
selectedOS: LINUX,
},
}