CharFormatter
This is a React component

Source
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

ParameterTypeDescription
props.blankLabelReactNode

What to render when value is null, undefined or an empty string

Defaults to null

props.valuestring|null

The value to render