Repository navigation
[EuiToolTip] Convert to Emotion styling - #6104
Conversation
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6104/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6104/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6104/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6104/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6104/ |
| } | ||
|
|
||
| setTootipRef: Ref<EuiToolTip> = (node) => { | ||
| setTootipRef = (node: ToolTipRef) => { |
There was a problem hiding this comment.
Yeah it's actually required for functional components, but I left it in after reverting to a class component.
chandlerprall
left a comment
There was a problem hiding this comment.
Changes LGTM, can't find anything misrendered or not acting correctly in the preview. Have a question about one change
Summary
EuiToolTipPopoverto be a function componentEuiToolTipAnchorandEuiToolTipArrowcomponentsEuiToolTipremains as a class component because of the delicate hide/show logic that the interaction relies on and because it does not actually need to useuseEuiTheme. Subcomponents were created and can handle individual styling concerns.Checklist