From 4695db7c51128b1ae296aa94b3da64cddcd2b802 Mon Sep 17 00:00:00 2001 From: Benjamin Leonard Date: Wed, 4 Oct 2023 12:31:39 +0100 Subject: [PATCH] Add metrics/24 icon --- icons/index.ts | 1 + icons/react/Metrics24Icon.tsx | 18 ++++++++++++++++++ icons/react/index.ts | 1 + icons/sprite.svg | 2 +- icons/svg/metrics-24.svg | 1 + 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 icons/react/Metrics24Icon.tsx create mode 100644 icons/svg/metrics-24.svg diff --git a/icons/index.ts b/icons/index.ts index 57e024ca..d1f51410 100644 --- a/icons/index.ts +++ b/icons/index.ts @@ -95,6 +95,7 @@ export type Icon = | { name: 'logs', size: 16 } | { name: 'logs', size: 24 } | { name: 'metrics', size: 16 } +| { name: 'metrics', size: 24 } | { name: 'more', size: 12 } | { name: 'networking', size: 16 } | { name: 'networking', size: 24 } diff --git a/icons/react/Metrics24Icon.tsx b/icons/react/Metrics24Icon.tsx new file mode 100644 index 00000000..df651398 --- /dev/null +++ b/icons/react/Metrics24Icon.tsx @@ -0,0 +1,18 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import { SVGProps } from "react"; +interface SVGRProps { + title?: string; + titleId?: string; +} +const Metrics24Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => {title ? {title} : null}; +export default Metrics24Icon; \ No newline at end of file diff --git a/icons/react/index.ts b/icons/react/index.ts index 8a48a5d6..a4883a82 100644 --- a/icons/react/index.ts +++ b/icons/react/index.ts @@ -39,6 +39,7 @@ export { default as Like24Icon } from './Like24Icon.tsx'; export { default as LoadBalancer24Icon } from './LoadBalancer24Icon.tsx'; export { default as Location24Icon } from './Location24Icon.tsx'; export { default as Logs24Icon } from './Logs24Icon.tsx'; +export { default as Metrics24Icon } from './Metrics24Icon.tsx'; export { default as Networking24Icon } from './Networking24Icon.tsx'; export { default as Organization24Icon } from './Organization24Icon.tsx'; export { default as Overview24Icon } from './Overview24Icon.tsx'; diff --git a/icons/sprite.svg b/icons/sprite.svg index f3d0fe38..7e74aea1 100644 --- a/icons/sprite.svg +++ b/icons/sprite.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/svg/metrics-24.svg b/icons/svg/metrics-24.svg new file mode 100644 index 00000000..ba042685 --- /dev/null +++ b/icons/svg/metrics-24.svg @@ -0,0 +1 @@ + \ No newline at end of file