import React from 'react'; import Svg, { Path, PathProps, SvgProps } from 'react-native-svg'; import { useTheme } from 'stream-chat-react-native'; export type IconProps = Partial & Omit & { active?: boolean; backgroundFill?: SvgProps['fill']; dark?: boolean; height?: number; width?: number; }; export const RootSvg: React.FC = (props) => { const { backgroundFill = 'none', children, height = 24, width = 24 } = props; return ( {children} ); }; export type RootPathProps = { d: PathProps['d']; pathFill?: SvgProps['fill']; pathOpacity?: PathProps['opacity']; }; export const RootPath: React.FC = (props) => { const { theme: { colors: { black }, }, } = useTheme(); const { d, pathFill = black, pathOpacity } = props; return ; };