mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-22 03:56:49 +03:00
feat(UtilityComponents): add Show component
This commit is contained in:
parent
344bde3e17
commit
e0ce710e24
1
components/utility/Show.js
Normal file
1
components/utility/Show.js
Normal file
@ -0,0 +1 @@
|
||||
export const Show = ({ children, when, fallback = null }) => (when ? children : fallback);
|
Loading…
Reference in New Issue
Block a user