middag-react
    Preparing search index...

    Function registerFieldComponent

    • Register a field component for a given field type key.

      The component receives the same props as built-in field components (id, value, onChange, error, etc.). Use FieldComponentProps as a baseline, but specific fields may have additional typed props.

      Parameters

      • type: string
      • component: ComponentType<any>

      Returns void