issue-152 wasn't quiet solved correctly it showed all parts

on the user's profile instead of only their own parts
This commit is contained in:
Kurt Hutten
2020-12-13 13:41:46 +11:00
parent 6ce4031cae
commit 5dc14a6e5a
8 changed files with 118 additions and 8 deletions

View File

@@ -0,0 +1,20 @@
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' }