From a816724484b447312743e8f1677b31bc64950e5e Mon Sep 17 00:00:00 2001 From: SkywardSyntax <87048477+SkywardSyntax@users.noreply.github.com> Date: Thu, 22 Aug 2024 17:09:27 -0500 Subject: [PATCH] Update the type of `children` to `React.ReactNode` in `GlassChip` and `GlobalGlassChip` components * **GlassChip.tsx** - Import `ReactNode` from `react` - Update the type of `children` to `React.ReactNode` * **GlobalGlassChip.tsx** - Import `ReactNode` from `react` - Update the type of `children` to `React.ReactNode` --- components/GlassChip.tsx | 4 ++-- components/GlobalGlassChip.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/GlassChip.tsx b/components/GlassChip.tsx index d93dfcc..fe9b5af 100644 --- a/components/GlassChip.tsx +++ b/components/GlassChip.tsx @@ -1,7 +1,7 @@ -import React, { FC } from 'react'; +import React, { FC, ReactNode } from 'react'; import styles from './GlassChip.module.css'; -const GlassChip: FC = ({ children }) => { +const GlassChip: FC<{ children: ReactNode }> = ({ children }) => { return