colorTextSecondary
was deprecated and doesn’t have a V2 equivalent.
config.defaultAppearance.styleOverrides
property that existed on FrigadeProvider
in V1.
We now recommend that you author global styles using your existing CSS workflow.
styleOverrides
and V2 css
props:css
prop accepts a style object, which means that if you’re using V1’s styleOverrides
prop to pass Tailwind classNames through to sub-components, you’ll need to update your code to pass Tailwind’s arbitrary variants, e.g.:
navigate
prop is now a top-level prop on Provider, it is no longer nested inside config
:
onButtonClick
prop has been replaced with individual handlers for onPrimary
, onSecondary
, onDismiss
, and onComplete
.
Full definitions of each handler are available in our component docs
@frigade/react
and V2 components from @frigade/reactv2
.
First, install V2 using a package alias:
Then add the V2 `Provider` above the V1 `FrigadeProvider`:
frigade.reload()
from the useFrigade() hook (V2) and/or refresh()
from the useFlows()
hook (V1).