Requested by the Cloud team to replace long description text for roles. They would like to ship this by the end of the month.
See similar existing APIs:
|
/** |
|
* Optional custom tooltip content for the button |
|
*/ |
|
toolTipContent?: EuiToolTipProps['content']; |
|
/** |
|
* Optional props to pass to the underlying **[EuiToolTip](/#/display/tooltip)** |
|
*/ |
|
toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>; |
|
/** |
|
* Required if using a tooltip. Add an optional tooltip on hover |
|
*/ |
|
toolTipContent?: ReactNode; |
|
/** |
|
* Optional configuration to pass to the underlying [EuiToolTip](/#/display/tooltip). |
|
* Accepts any prop that EuiToolTip does, except for `content` and `children`. |
|
*/ |
|
toolTipProps?: Partial<Omit<EuiToolTipProps, 'content' | 'children'>>; |
Tooltips should also be toggled by keyboard "focus" (which isn't true focus in the case of EuiSelectable)
Requested by the Cloud team to replace long description text for roles. They would like to ship this by the end of the month.
See similar existing APIs:
eui/src/components/button/button_group/button_group.tsx
Lines 56 to 63 in f10c46d
eui/src/components/context_menu/context_menu_item.tsx
Lines 47 to 55 in 68439d3
Tooltips should also be toggled by keyboard "focus" (which isn't true focus in the case of EuiSelectable)