From f9787c8e5b7b32bfc9238cec27c6100d6b0ba153 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Mon, 12 Feb 2024 07:59:24 -0800 Subject: [PATCH] re-compile icon with latest main/dependencies --- src/components/icon/__snapshots__/icon.test.tsx.snap | 4 ++-- src/components/icon/assets/new_chat.tsx | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/icon/__snapshots__/icon.test.tsx.snap b/src/components/icon/__snapshots__/icon.test.tsx.snap index 0bce7930b06..2f8628a3043 100644 --- a/src/components/icon/__snapshots__/icon.test.tsx.snap +++ b/src/components/icon/__snapshots__/icon.test.tsx.snap @@ -7739,11 +7739,11 @@ exports[`EuiIcon props type newChat is rendered 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/src/components/icon/assets/new_chat.tsx b/src/components/icon/assets/new_chat.tsx index 020985cc0e6..750b9a7a891 100644 --- a/src/components/icon/assets/new_chat.tsx +++ b/src/components/icon/assets/new_chat.tsx @@ -9,32 +9,31 @@ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js import * as React from 'react'; +import type { SVGProps } from 'react'; interface SVGRProps { title?: string; titleId?: string; } - const EuiIconNewChat = ({ title, titleId, ...props -}: React.SVGProps & SVGRProps) => ( +}: SVGProps & SVGRProps) => ( {title ? {title} : null} - + ); - export const icon = EuiIconNewChat;