elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.2k forks source link

[UI Framework] Reactify typography #12567

Closed cjcenizal closed 6 years ago

cjcenizal commented 7 years ago

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>
cjcenizal commented 6 years ago

Done in EUI.