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 };