Add storybook for syncStatus
This commit is contained in:
parent
88e44e8d12
commit
0051948d1d
|
@ -0,0 +1,23 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import SyncStatus from './SyncStatus'
|
||||
|
||||
const meta = {
|
||||
title: 'Pages/SyncStatus',
|
||||
component: SyncStatus,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
argTypes: {},
|
||||
} satisfies Meta<typeof SyncStatus>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Page: Story = {
|
||||
args: {
|
||||
isPairing: true,
|
||||
onResetTimer: () => {},
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue