@akinon/icons 0.0.0

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,30 @@
1
+ import { CSSProperties, JSXElementConstructor, SVGProps } from 'react';
2
+ type IconSetItem = {
3
+ properties: {
4
+ name: string;
5
+ };
6
+ icon: {
7
+ paths: string[];
8
+ attrs?: object[];
9
+ width?: number | string;
10
+ };
11
+ };
12
+ type IconSet = {
13
+ icons: IconSetItem[];
14
+ };
15
+ export interface IconProps extends SVGProps<SVGElement> {
16
+ icon: string;
17
+ size?: string | number;
18
+ title?: string;
19
+ disableFill?: boolean;
20
+ removeInlineStyle?: boolean;
21
+ SvgComponent?: JSXElementConstructor<any>;
22
+ PathComponent?: JSXElementConstructor<any>;
23
+ style?: CSSProperties;
24
+ }
25
+ interface IcomoonProps extends IconProps {
26
+ iconSet: IconSet;
27
+ }
28
+ export declare const Icomoon: ({ iconSet, icon, size, title, disableFill, removeInlineStyle, SvgComponent, PathComponent, ...props }: IcomoonProps) => import("react").ReactElement<any, string | JSXElementConstructor<any>> | null;
29
+ export {};
30
+ //# sourceMappingURL=icomoon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icomoon.d.ts","sourceRoot":"","sources":["../src/icomoon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,qBAAqB,EACrB,QAAQ,EACT,MAAM,OAAO,CAAC;AAEf,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,SAAU,SAAQ,QAAQ,CAAC,UAAU,CAAC;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,YAAY,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAE1C,aAAa,CAAC,EAAE,qBAAqB,CAAC,GAAG,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,UAAU,YAAa,SAAQ,SAAS;IACtC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,0GAUjB,YAAY,kFAyCd,CAAC"}
package/dist/icon.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from './icomoon';
3
+ export declare const Icon: (props: IconProps) => React.JSX.Element;
4
+ /**
5
+ * Returns the full list of available icons.
6
+ * Can be used for documentation purposes.
7
+ *
8
+ * @returns {string[]}
9
+ */
10
+ export declare const getIconList: () => string[] | null;
11
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../src/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAW,SAAS,EAAE,MAAM,WAAW,CAAC;AAG/C,eAAO,MAAM,IAAI,UAAW,SAAS,sBAEpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,uBAGvB,CAAC"}