const template = (native) => { const useClientDirective = native ? '' : '"use client";'; const imports = [ 'import React from "react";', ...(native ? ['import type { SvgProps } from "react-native-svg";'] : []), ].join('\n'); return ` ${useClientDirective} ${imports} type IconoirContextValue = Partial<${ native ? 'SvgProps' : 'React.SVGProps' }>; export const IconoirContext = React.createContext({}); export interface IconoirProviderProps { iconProps?: Partial<${ native ? `Omit` : 'React.SVGProps' }>; children: React.ReactNode; } export function IconoirProvider({ iconProps, children }: IconoirProviderProps) { return ( ); } `; }; export default template; export const exports = ['IconoirContext', 'IconoirProvider'];