Files
cadhub/app/web/src/components/ProjectReactionsCell/ProjectReactionsCell.stories.tsx
2021-07-17 17:47:29 +10:00

21 lines
510 B
TypeScript

import { Loading, Empty, Failure, Success } from './ProjectReactionsCell'
import { standard } from './ProjectReactionsCell.mock'
export const loading = () => {
return Loading ? <Loading /> : null
}
export const empty = () => {
return Empty ? <Empty /> : null
}
export const failure = () => {
return Failure ? <Failure error={new Error('Oh no')} /> : null
}
export const success = () => {
return Success ? <Success {...standard()} /> : null
}
export default { title: 'Cells/ProjectReactionsCell' }