ados-rcm 1.1.277 → 1.1.278
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/AButton/AThemeButton.d.ts +4 -1
- package/dist/index.cjs.js +13 -13
- package/dist/index.es.js +1038 -1035
- package/package.json +1 -1
@@ -1,7 +1,9 @@
|
|
1
1
|
import { IABaseProps } from '../ABase/ABase';
|
2
2
|
import { TSemanticModes } from '../ATheme/ATheme';
|
3
|
+
type TButtonType = 'Icon' | 'Switch';
|
3
4
|
export interface IAThemeButtonProps extends Omit<IABaseProps, 'onChange'> {
|
4
5
|
onChange?: (newSemanticMode: TSemanticModes) => void;
|
6
|
+
type?: TButtonType;
|
5
7
|
}
|
6
8
|
/**
|
7
9
|
* AThemeButton
|
@@ -14,4 +16,5 @@ export interface IAThemeButtonProps extends Omit<IABaseProps, 'onChange'> {
|
|
14
16
|
* if (case 1)
|
15
17
|
* <AThemeButton onChange={(newSemanticMode : TSemanticModes) => setCurrentSemanticMode(newSemanticMode)} />
|
16
18
|
*/
|
17
|
-
export declare const AThemeButton: (props: IAThemeButtonProps) => import("react/jsx-runtime").JSX.Element;
|
19
|
+
export declare const AThemeButton: (props: IAThemeButtonProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
20
|
+
export {};
|