@outfit.io/zelle-components
v0.1.2
Published
This package is for Outfit templates written in React. ## Usage
Downloads
4
Keywords
Readme
@outfit.io/react-boilerplate
This package is for Outfit templates written in React.
Usage
Wrap your template in the OutfitProvider
and pass window.payload to its templateProps
prop.
Then when you want to access your template inputs, use the useOutfit
hook to get account, team, user and template inputs.
const { account, team, user, inputs } = useOutfit();