I'd like to be able to separate my config as export const variantConfig: Config = { ... } and then pull those into storybook stories argTypes, but I don't see how I can import that type.
Alternatively, add .config to the returned function from cva() and we can access it through variants.config
I'd like to be able to separate my config as
export const variantConfig: Config = { ... }
and then pull those into storybook storiesargTypes
, but I don't see how I can import that type.Alternatively, add
.config
to the returned function fromcva()
and we can access it throughvariants.config