Type alias CustomMeta<A>

CustomMeta<A>: {
    init: A;
    validate: ((a) => Validation<string, A>);
    view: ((props) => JSXElement);
}

Type Parameters

  • A

Type declaration

  • init: A
  • validate: ((a) => Validation<string, A>)
  • view: ((props) => JSXElement)
      • (props): JSXElement
      • Parameters

        • props: {
              init: A;
              onChange: ((v) => void);
              validate: ((a) => Validation<string, A>);
          }
          • init: A
          • onChange: ((v) => void)
              • (v): void
              • Parameters

                Returns void

          • validate: ((a) => Validation<string, A>)

        Returns JSXElement

Generated using TypeDoc