deno.land / x / react_icons@0.2.3 / lib / iconContext.tsx
123456789101112131415161718192021import * as React from "preact";import { JSX } from "preact";
export interface IconContext { color?: string; size?: string; className?: string; style?: JSX.CSSProperties; attr?: JSX.SVGAttributes<SVGElement>;}
export const DefaultContext: IconContext = { color: undefined, size: undefined, className: undefined, style: undefined, attr: undefined,};
export const IconContext: React.Context<IconContext> = React.createContext && React.createContext(DefaultContext);
Version Info