⚠️ @prestojs/ui 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 formatting values guide.

TimeFormatter

Source
import { TimeFormatter } from "@prestojs/ui";
TimeFormatter(props)
Source

Component Props:

PropTypeDescription
*
props
An object with the properties below
props.blankLabelReactNode
props.invalidValueLabelReactNode
props.localeOptions
props.localesstring|string[]
*props.valuestring|Date|null

Examples

TimeFormatter usage