CharFormatterThis is a React component
SourceThis is a React component
import { CharFormatter } from "@prestojs/ui";
CharFormatter(props)
Format a string for display. Returns value directly as is.
This is the default formatter used for CharField, EmailField, TextField, SlugField, IPAddressField, UUIDField and JSONField
Parameter | Type | Description | |
---|---|---|---|
props.blankLabel | ReactNode | What to render when Defaults to | |
props.value | string|null | The value to render |