LinkFormatter

Source
import { LinkFormatter } from "@prestojs/ui";
LinkFormatter<LinkComponentT = "a">(props)
Source

Component Props:

PropTypeDescription
*
props
An object with the properties below
props.blankLabelReactNode
props.childrenReact.ReactNode
props.linkComponentLinkComponentT
props.valuenull|string
...any
Any properties from Object|React.ComponentProps except for these:
  • href

Examples

Basic usage