ados-rcm 1.1.12 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +2 -4
- package/dist/index.cjs.js +27 -27
- package/dist/index.es.js +5461 -5401
- package/package.json +1 -1
@@ -1,6 +1,8 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export interface IASVGProps extends React.SVGProps<SVGSVGElement> {
|
3
3
|
svgRef?: React.Ref<SVGSVGElement>;
|
4
|
+
primaryColor?: string;
|
5
|
+
secondaryColor?: string;
|
4
6
|
}
|
5
7
|
export type TIcons = keyof typeof Icons;
|
6
8
|
export interface IAIconProps extends IASVGProps {
|
@@ -22,10 +24,6 @@ export interface IAIconProps extends IASVGProps {
|
|
22
24
|
* <AIcon icon="Alert"/>
|
23
25
|
*/
|
24
26
|
export declare const AIcon: (props: IAIconProps) => import("react/jsx-runtime").JSX.Element;
|
25
|
-
interface IAIconHOCProps<T extends string> extends Omit<IAIconProps, 'icon'> {
|
26
|
-
icon: T | TIcons;
|
27
|
-
}
|
28
|
-
export declare const AIconHOC: <T extends string>(customIcons: Record<T, (props?: IASVGProps) => JSX.Element>) => (props: IAIconHOCProps<T>) => import("react/jsx-runtime").JSX.Element;
|
29
27
|
declare const Icons: Readonly<{
|
30
28
|
ArrowDown: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
31
29
|
ArrowUp: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|