Skip to content

Commit

Permalink
[EuiToolTip] implement memoization for styles in tool_tip_popover.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
amarantaVC committed Dec 9, 2024
1 parent 42e03fa commit 94ebcf8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/eui/src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,24 @@ exports[`EuiIcon props color inherit is rendered 1`] = `
</svg>
`;

exports[`EuiIcon props color inherit is rendered 2`] = `
<svg
aria-hidden="true"
class="euiIcon emotion-euiIcon-m-inherit-isLoaded"
data-icon-type="search"
data-is-loaded="true"
height="16"
role="img"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m11.271 11.978 3.872 3.873a.502.502 0 0 0 .708 0 .502.502 0 0 0 0-.708l-3.565-3.564c2.38-2.747 2.267-6.923-.342-9.532-2.73-2.73-7.17-2.73-9.898 0-2.728 2.729-2.728 7.17 0 9.9a6.955 6.955 0 0 0 4.949 2.05.5.5 0 0 0 0-1 5.96 5.96 0 0 1-4.242-1.757 6.01 6.01 0 0 1 0-8.486c2.337-2.34 6.143-2.34 8.484 0a6.01 6.01 0 0 1 0 8.486.5.5 0 0 0 .034.738Z"
/>
</svg>
`;

exports[`EuiIcon props color primary is rendered 1`] = `
<svg
aria-hidden="true"
Expand Down

0 comments on commit 94ebcf8

Please sign in to comment.