From 1bedeff36ed147b41daa50df833aadc425dcaaf5 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Sun, 20 Apr 2025 13:43:16 +0200 Subject: [PATCH] Search icon in TSX format --- src/assets/Icons/Search.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/assets/Icons/Search.tsx diff --git a/src/assets/Icons/Search.tsx b/src/assets/Icons/Search.tsx new file mode 100644 index 0000000..64ae644 --- /dev/null +++ b/src/assets/Icons/Search.tsx @@ -0,0 +1,26 @@ +import { useTheme } from '@mui/material'; +import { SVGProps } from './interfaces'; + +export const Search: React.FC = ({ color, opacity, ...children }) => { + const theme = useTheme(); + + const setColor = color ? color : theme.palette.text.primary; + const setOpacity = opacity ? opacity : 1; + + return ( + + + + ); +};