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
{children}
; }; diff --git a/components/GlobalGlassChip.tsx b/components/GlobalGlassChip.tsx index 80ea243..8c6784c 100644 --- a/components/GlobalGlassChip.tsx +++ b/components/GlobalGlassChip.tsx @@ -1,7 +1,7 @@ -import React, { FC } from 'react'; +import React, { FC, ReactNode } from 'react'; import styles from './GlobalGlassChip.module.css'; -const GlobalGlassChip: FC = ({ children }) => { +const GlobalGlassChip: FC<{ children: ReactNode }> = ({ children }) => { return
{children}
; };