UikHeadline

Just a styled headline

PropertyTypeRequiredDefault ValueDescription
classNameStringfalsenullclassName, e.g. "my-custom-styling"
childrenReact.Nodefalsenull
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.

UikHeadline Example

ComponentExample Code

Some Headline

Some description after headline

<UikWidget padding>
  <UikHeadline>
    Some Headline
  </UikHeadline>
  <UikHeadlineDesc>
    Some description after headline
  </UikHeadlineDesc>
</UikWidget>