From 070c27cb1ce79f295dcda5eeb2d08cf858be4fe6 Mon Sep 17 00:00:00 2001 From: miukimiu Date: Wed, 12 Feb 2020 14:03:57 +0000 Subject: [PATCH 1/2] Adding paper clip glyph to EuiIcon --- src-docs/src/views/icon/icons.js | 1 + .../icon/__snapshots__/icon.test.tsx.snap | 17 +++++++++++++++++ src/components/icon/assets/paper_clip.js | 16 ++++++++++++++++ src/components/icon/assets/paper_clip.svg | 3 +++ src/components/icon/icon.tsx | 1 + 5 files changed, 38 insertions(+) create mode 100644 src/components/icon/assets/paper_clip.js create mode 100644 src/components/icon/assets/paper_clip.svg diff --git a/src-docs/src/views/icon/icons.js b/src-docs/src/views/icon/icons.js index 95ef52b5774..0fd96a71060 100644 --- a/src-docs/src/views/icon/icons.js +++ b/src-docs/src/views/icon/icons.js @@ -140,6 +140,7 @@ export const iconTypes = [ 'package', 'pageSelect', 'pagesSelect', + 'paperClip', 'partial', 'pause', 'pencil', diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index c750569d0f4..6675b379a64 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -6136,6 +6136,23 @@ exports[`EuiIcon props type pagesSelect is rendered 1`] = ` `; +exports[`EuiIcon props type paperClip is rendered 1`] = ` + +`; + exports[`EuiIcon props type partial is rendered 1`] = `