@outfit.io/zelle-components

0.1.2 • Public • Published

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

/@outfit.io/zelle-components/

    Package Sidebar

    Install

    npm i @outfit.io/zelle-components

    Weekly Downloads

    1

    Version

    0.1.2

    License

    ISC

    Unpacked Size

    746 kB

    Total Files

    9

    Last publish

    Collaborators

    • samueljim
    • jamesrplee
    • outfit-npm
    • phillycheese
    • omnihound