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 AssistedInput component #12570

Closed cjcenizal closed 6 years ago

cjcenizal commented 7 years ago

This component will need to accept an assistance prop into which any element, e.g. a <KuiLink> instance, can be passed. We'll also need to support a padding prop, so we can make sure the text doesn't overlap the assistance.

<KuiAssistedInput
  assistance={<KuiLink href="#">Help</KuiLink>}
  padding="20px"
  onChange={this.onChange}
  value={this.state.value}
/>
cjcenizal commented 6 years ago

Focusing on EUI.