feat: add story for titles

This commit is contained in:
RadoslavDimchev 2023-08-14 10:21:29 +03:00
parent 7b5e51d129
commit 3d6bdb2cd2
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
import type { Meta, StoryObj } from '@storybook/react'
import Titles from './Titles'
const meta = {
title: 'General/Titles',
component: Titles,
tags: ['autodocs'],
} satisfies Meta<typeof Titles>
export default meta
type Story = StoryObj<typeof meta>
export const WelcomeTitles: Story = {
args: {
title: 'Welcome, John. This is your complete access to a truly decentralized Web 3.0',
subtitle:
'Status Nodes allows you to finally take control and ownership of the services you wish to run in a completely trustless and decentralized manner.',
isAdvancedSettings: false,
},
}
export const DeviceHealthCheckTitles: Story = {
args: {
title: 'Device Health Check',
subtitle: 'Configure your device to start Staking on Nimbus',
isAdvancedSettings: true,
},
}