Files
cadhub/app/web/src/components/PartReactionsCell/PartReactionsCell.stories.js
2021-05-01 07:32:21 +10:00

21 lines
501 B
JavaScript

import { Loading, Empty, Failure, Success } from './PartReactionsCell'
import { standard } from './PartReactionsCell.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/PartReactionsCell' }