From 10d0c938acc26c85fde48552341b094781cc9493 Mon Sep 17 00:00:00 2001 From: Sabrina Miranda Date: Tue, 10 Jan 2023 02:05:06 -0300 Subject: [PATCH] feat: Cria o componente IcomList --- src/components/IconList/IconList.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/components/IconList/IconList.tsx diff --git a/src/components/IconList/IconList.tsx b/src/components/IconList/IconList.tsx new file mode 100644 index 0000000..9cbfb3f --- /dev/null +++ b/src/components/IconList/IconList.tsx @@ -0,0 +1,21 @@ +import React from "react"; + +interface Icon { + src: string; + alt: string; + className: string; + text?: string; +} + +const IconList = ( props: Icon ) => { + const { src, alt, className, text } = props; + + return ( +
  • +

    {text}

    + {alt} +
  • + ); +}; + +export { IconList };