diff --git a/lib/src/components/Icon/Icon.tsx b/lib/src/components/Icon/Icon.tsx index 1e99801..e910d4c 100644 --- a/lib/src/components/Icon/Icon.tsx +++ b/lib/src/components/Icon/Icon.tsx @@ -4,29 +4,11 @@ import { IIconProps } from "./icon.type"; const Icon: ForwardRefRenderFunction = ({ children, xmlns = "http://www.w3.org/2000/svg", - width = "24", - height = "24", - viewBox = "0 0 24 24", - strokeWidth = "2", - stroke = "currentColor", - fill = "none", - strokeLinecap = "round", - strokeLinejoin = "round", + ...nativeProps }) => { return ( - + {children} ); diff --git a/lib/src/components/_internal/Icons/ArrowDown.tsx b/lib/src/components/_internal/Icons/ArrowDown.tsx index 37663b1..e4de2fc 100644 --- a/lib/src/components/_internal/Icons/ArrowDown.tsx +++ b/lib/src/components/_internal/Icons/ArrowDown.tsx @@ -4,7 +4,17 @@ import { IIconProps } from "src/components/Icon/icon.type"; export const ArrowDown: FC = (props) => { return ( - + diff --git a/lib/src/components/_internal/Icons/CheckIcon.tsx b/lib/src/components/_internal/Icons/CheckIcon.tsx index babe935..f3c9202 100644 --- a/lib/src/components/_internal/Icons/CheckIcon.tsx +++ b/lib/src/components/_internal/Icons/CheckIcon.tsx @@ -3,7 +3,17 @@ import { IIconProps } from "src/components/Icon/icon.type"; const CheckIcon: React.FC = (props) => { return ( - + = (props) => { return ( - + diff --git a/lib/src/components/_internal/Icons/Clear.tsx b/lib/src/components/_internal/Icons/Clear.tsx index d9b62cd..ebf2334 100644 --- a/lib/src/components/_internal/Icons/Clear.tsx +++ b/lib/src/components/_internal/Icons/Clear.tsx @@ -4,7 +4,17 @@ import { IIconProps } from "src/components/Icon/icon.type"; export const Clear: FC = (props) => { return ( - + diff --git a/lib/src/components/_internal/Icons/Close.tsx b/lib/src/components/_internal/Icons/Close.tsx index 287f18c..450fa44 100644 --- a/lib/src/components/_internal/Icons/Close.tsx +++ b/lib/src/components/_internal/Icons/Close.tsx @@ -4,7 +4,17 @@ import { IIconProps } from "../../../components/Icon/icon.type"; const CloseIcon: React.FC = (props) => { return ( - + diff --git a/lib/src/components/_internal/Icons/DashIcon.tsx b/lib/src/components/_internal/Icons/DashIcon.tsx index acfd12e..4758977 100644 --- a/lib/src/components/_internal/Icons/DashIcon.tsx +++ b/lib/src/components/_internal/Icons/DashIcon.tsx @@ -3,7 +3,17 @@ import { IIconProps } from "src/components/Icon/icon.type"; const DashIcon: React.FC = (props) => { return ( - + ); diff --git a/lib/src/components/_internal/Icons/SvgDot.tsx b/lib/src/components/_internal/Icons/SvgDot.tsx index 55d7d5e..3fa6650 100644 --- a/lib/src/components/_internal/Icons/SvgDot.tsx +++ b/lib/src/components/_internal/Icons/SvgDot.tsx @@ -1,8 +1,10 @@ +import { Icon } from "src/components/Icon"; + const SvgDot = () => { return ( - + - + ); };