0.0.1 • Published 4 years ago
@outfit.io/preact v0.0.1
@outfit.io/preact
This package is for Outfit templates written for ES Modules Preact.
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();0.0.1
4 years ago