import React from 'react'; import Svg, { Path, PathProps, SvgProps } from 'react-native-svg'; import { useTheme } from '../../contexts/themeContext/ThemeContext'; export type IconProps = Partial & Omit & { height?: number; width?: number; }; export const RootSvg: React.FC = (props) => { const { children, height = 24, viewBox = '0 0 24 24', width = 24 } = props; return ( {children} ); }; export type RootPathProps = Pick & { pathFill?: SvgProps['fill']; pathOpacity?: PathProps['opacity']; }; export const RootPath: React.FC = (props) => { const { theme: { colors: { black }, }, } = useTheme(); const { d, pathFill = black, pathOpacity } = props; return ( ); };