UikHeadlineDesc

Just a styled description (p) after headline

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

UikHeadlineDesc Example

ComponentExample Code

Some Headline

Some description after headline

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