⚠️ @prestojs/ui-antd is a legacy package

It is maintained for existing projects but should not be used for new projects. New projects should use @alliancesoftware/ui instead — see the @alliancesoftware/ui component library.

getWidgetForField

Source
import { getWidgetForField } from "@prestojs/ui-antd";
getWidgetForField<FieldValue,ParsableValueT,SingleValueT,T>(field)
Source

Arguments:

ArgumentTypeDescription
*fieldField
Returns:React.ComponentType|"input"|"select"|"textarea"|[React.ComponentType|"input"|"select"|"textarea", Record]|null