UikTopBarSection

Just a simple component inteded to be used in UikTopBar (see example usage) that wraps the content with 30px side margins.

PropertyTypeRequiredDefault ValueDescription
childrenReact.Nodefalsenull
classNameStringfalsenullclassName, e.g. "my-custom-styling"
ComponentReact.ElementTypefalsedivRenders the component with a given react element. By default, the component renders <div />. 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