/* GENERATED FILE */ import { useContext } from "solid-js"; import { IconContext } from "../lib"; const renderPathFor = (weight: string, color: string) => { switch (weight) { case "bold": return ( <> ) case "duotone": return ( <> ) case "fill": return ( <> ) case "light": return ( <> ) case "thin": return ( <> ) case "regular": return ( <> ) default: console.error( 'Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".' ); return null; } }; const Path = (props: any, ref: any) => { const { color, size, weight, mirrored, children, ...restProps } = props; const { color: contextColor, size: contextSize, weight: contextWeight, mirrored: contextMirrored, ...restContext } = useContext(IconContext); return ( {children} {renderPathFor(weight ?? contextWeight, color ?? contextColor)} ); }; export default Path;