Fork me on GitHub
#devcards
<
2018-09-06
>
ralf18:09:01

Devcards last arg is a store. Is that something which might be passed to a component as a prop or more like a redux store or vanilla react state?

bhauman18:09:26

gosh I fogot

bhauman18:09:32

last arg to what defcard ?

ralf18:09:37

Yea, when the first argument is a function with [data-atom]. I cant find again where I read that 😭

bhauman18:09:41

initial data is just the initial state that you want to pass in