mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-01 11:30:46 +00:00
feat: create story with examples for current docs
This commit is contained in:
parent
c29efcaeb7
commit
b0afb9e4b0
@ -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,
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user