From eddc1381a73e537f677edea03d815ada58c79651 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Tue, 27 Feb 2024 11:37:09 +0530 Subject: [PATCH] fixed key icon log in console while login --- packages/react/src/components/Icon/icons/Key.js | 15 +++++++++++++++ packages/react/src/components/Icon/icons/index.js | 2 ++ packages/react/tools/icons-generator.js | 1 + 3 files changed, 18 insertions(+) create mode 100644 packages/react/src/components/Icon/icons/Key.js diff --git a/packages/react/src/components/Icon/icons/Key.js b/packages/react/src/components/Icon/icons/Key.js new file mode 100644 index 000000000..492f5cda0 --- /dev/null +++ b/packages/react/src/components/Icon/icons/Key.js @@ -0,0 +1,15 @@ +import React from 'react'; + +const Key = (props) => ( + + + +); + +export default Key; diff --git a/packages/react/src/components/Icon/icons/index.js b/packages/react/src/components/Icon/icons/index.js index 2ea3fa05a..e0ae2ea29 100644 --- a/packages/react/src/components/Icon/icons/index.js +++ b/packages/react/src/components/Icon/icons/index.js @@ -38,6 +38,7 @@ import ArrowDown from './ArrowDown'; import PinFilled from './PinFilled'; import VideoRecorder from './VideoRecoder'; import DisabledRecorder from './DisableRecorder'; +import Key from './Key'; const icons = { file: File, @@ -80,6 +81,7 @@ const icons = { 'error-circle': ErrorCircle, 'arrow-down': ArrowDown, 'pin-filled': PinFilled, + key: Key, }; export default icons; diff --git a/packages/react/tools/icons-generator.js b/packages/react/tools/icons-generator.js index c39f180c6..98ce8c262 100644 --- a/packages/react/tools/icons-generator.js +++ b/packages/react/tools/icons-generator.js @@ -39,6 +39,7 @@ const iconsList = [ 'kebab', 'check', 'error-circle', + 'key', ]; const svgDirPath = path.join( __dirname,