mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-22 01:09:49 +00:00
feat: add story for titles
This commit is contained in:
parent
7b5e51d129
commit
3d6bdb2cd2
29
src/components/Titles.stories.tsx
Normal file
29
src/components/Titles.stories.tsx
Normal 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,
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user