⚠️ @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
Sourceimport { getWidgetForField } from "@prestojs/ui-antd";
Arguments:
| Argument | Type | Description | |
|---|---|---|---|
| * | field | Field |
Returns:React.ComponentType|"input"|"select"|"textarea"|[React.ComponentType|"input"|"select"|"textarea", Record]|null