BreakUI

The BreakUI component simply creates a spacing break between components.

Parameters

  • text?: StringF – a string or a function that returns a string to be placed inside of the break.

Examples

new BreakUI("--")

new BreakUI( ()=>{
    if (info is present)
        return "-----"
    else
        return ""
    })

If a function is provided for the text parameter, that function will be evaluated every time the component is rendered.

Styling

  • BreakUI – this is the default style