Documents / @faasjs/ant-design / TitleProps
Interface: TitleProps
Props for the document-title helper component.
Properties
children?
optionalchildren?:Element
Existing element cloned with a title prop.
h1?
optionalh1?:boolean| {className?:string;style?:CSSProperties; }
Whether to render an h1, or the props used to style that h1.
plain?
optionalplain?:boolean
Whether to render plain text instead of returning null.
separator?
optionalseparator?:string
Separator used when joining title segments.
Default
' - '
suffix?
optionalsuffix?:string
Suffix appended to the generated document title.
title
title:
string|string[]
Title text or title segments used to update document.title.