Add storybook for syncStatus

This commit is contained in:
Hristo Nedelkov 2023-08-16 14:47:56 +03:00
parent 88e44e8d12
commit 0051948d1d
1 changed files with 23 additions and 0 deletions

View File

@ -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: () => {},
},
}