From 3aaf698b98f57e98abc4762fbaefcfe045864f88 Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Thu, 8 Feb 2024 15:02:54 -0800 Subject: [PATCH] add diff icon --- src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 18 ++++++++++ src/components/icon/assets/diff.tsx | 34 +++++++++++++++++++ src/components/icon/icon_map.ts | 1 + src/components/icon/svgs/diff.svg | 1 + 5 files changed, 55 insertions(+) create mode 100644 src/components/icon/assets/diff.tsx create mode 100644 src/components/icon/svgs/diff.svg diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index aced767e864..e0a2ba19fb4 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -67,6 +67,7 @@ export const iconTypes = [ 'database', 'desktop', 'discuss', + 'diff', 'document', 'documents', 'documentEdit', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 1f9fbd39fcb..e59ae82d348 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -2023,6 +2023,24 @@ exports[`EuiIcon props type devToolsApp is rendered 1`] = ` `; +exports[`EuiIcon props type diff is rendered 1`] = ` + +`; + exports[`EuiIcon props type discoverApp is rendered 1`] = `