@imfusion/web-ui 0.8.1-dev.36.g641eac85 → 0.8.1-dev.46.g027b5df2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import { IconComponent } from '../components/icon/types';
2
+ export type IconNode = readonly [tag: string, attributes: Readonly<Record<string, string>>, children?: readonly IconNode[]];
3
+ export declare function createIcon(name: string, nodes: readonly IconNode[]): IconComponent;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ export type IconConfig = Omit<SVGProps<SVGSVGElement>, "children" | "ref">;
3
+ export declare const IconConfigContext: import('react').Context<IconConfig>;
@@ -1,5 +1,5 @@
1
- import { ReactNode, SVGProps } from 'react';
2
- type IconConfig = Omit<SVGProps<SVGSVGElement>, "children" | "ref">;
1
+ import { ReactNode } from 'react';
2
+ import { IconConfig } from './icon-config-context';
3
3
  interface ProviderProps {
4
4
  children: ReactNode;
5
5
  value?: IconConfig;