Skip to content

@serenity-is/corelib / PropertyFieldLineBreak

Function: PropertyFieldLineBreak()

PropertyFieldLineBreak(props): HTMLElement

Defined in: src/ui/widgets/propertygrid.tsx:132

Renders a line-break element when the item's form CSS class requests one at the current breakpoint, or null otherwise.

Parameters

props

Line-break rendering props.

item

Pick<PropertyItem, "formCssClass">

Returns

HTMLElement

A line-break element, or null if none is needed.