getFormatterForField

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

Arguments:

ArgumentTypeDescription
*fieldField
Returns:string|React.ComponentType|[React.ComponentType|string, Record]|null