Files
cadhub/web/src/components/PartsOfUserCell/PartsOfUserCell.stories.js
Kurt Hutten 5dc14a6e5a issue-152 wasn't quiet solved correctly it showed all parts
on the user's profile instead of only their own parts
2020-12-13 13:41:46 +11:00

21 lines
495 B
JavaScript

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