reactions cells

This commit is contained in:
Yen Colon
2021-01-15 10:25:28 -04:00
parent fd2524469d
commit 26235158fa
4 changed files with 74 additions and 0 deletions

View File

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