To support the mixing and matching of different headings and typographic elements with our different styles, we should use cloneElement, similar to how KuiKeyboardAccessible is implemented. An interface would look something like this:
<KuiTitle>
<h2>I'm a regular ol' h2.</h2>
</KuiTitle>
To support the mixing and matching of different headings and typographic elements with our different styles, we should use
cloneElement
, similar to how KuiKeyboardAccessible is implemented. An interface would look something like this: