UikTopBarTitle

Stylized simple h2 element that matches the design kit inteded to use with default UikTopBar (see example usage)

PropertyTypeRequiredDefault ValueDescription
childrenReact.Nodefalsenull
classNameStringfalsenullclassName, e.g. "my-custom-styling"
largeBooleanfalsefalseIncreases the font size slightly.
ComponentReact.ElementTypefalseh2Renders the component with a given react element. By default, the component renders <h2 />. This is usefull when you want to use a same style but render a different HTML element or your custom component. Read and see more examples here.
...restanyfalseOther properties are passed down to the wrapping element