fallow-api 3.47.0

Programmatic API contract types for fallow
Documentation
1
2
3
4
5
6
7
8
9
import { Button } from "./Button";

const ButtonWrapper = (props: { label: string }) => <Button {...props} />;

export const CheckoutForm = () => (
  <form>
    <ButtonWrapper label="Place order" />
  </form>
);