diff --git a/Components/UI/Info/Info.tsx b/Components/UI/Info/Info.tsx index 5597ef9..0f265f4 100644 --- a/Components/UI/Info/Info.tsx +++ b/Components/UI/Info/Info.tsx @@ -1,7 +1,14 @@ //Lib +import { ReactNode } from 'react'; import classes from './Info.module.css'; -export default function Info(props) { +type InfoProps = { + message: string; + color: string; + children?: ReactNode; +}; + +export default function Info(props: InfoProps) { return (