0.1.2 • Published 2 years ago

@outfit.io/zelle-components v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@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();