@gataca/design-system 0.2.37 → 0.2.39
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.
- package/dist/components/index.native.d.ts +3 -0
- package/dist/components/index.web.d.ts +3 -0
- package/dist/components/native/Avatars/AvatarGroup/avatarGroup.types.native.d.ts +1 -1
- package/dist/components/native/Cards/Credential/credential_styles.native.d.ts +1 -1
- package/dist/components/native/Checkbox/Checkbox/checkbox.native.d.ts +4 -0
- package/dist/components/native/Checkbox/Checkbox/checkbox_styles.native.d.ts +16 -0
- package/dist/components/native/Checkbox/Checkbox/checkbox_types.native.d.ts +12 -0
- package/dist/components/native/Checkbox/Checkbox/index.native.d.ts +2 -0
- package/dist/components/native/Headings/HeadingCredential/HeadingCredential_styles.native.d.ts +40 -1
- package/dist/components/native/Icons/icons/checkbox.d.ts +9 -0
- package/dist/components/native/Icons/icons/radioButton.d.ts +9 -0
- package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +15 -0
- package/dist/components/native/RadioButton/RadioButton/index.native.d.ts +2 -0
- package/dist/components/native/RadioButton/RadioButton/radioButton.native.d.ts +4 -0
- package/dist/components/native/RadioButton/RadioButton/radioButton_styles.native.d.ts +16 -0
- package/dist/components/native/RadioButton/RadioButton/radioButton_types.native.d.ts +12 -0
- package/dist/components/native/Switch/Switch/Switch.native.d.ts +4 -0
- package/dist/components/native/Switch/Switch/index.native.d.ts +2 -0
- package/dist/components/native/Switch/Switch/switch_styles.native.d.ts +19 -0
- package/dist/components/native/Switch/Switch/switch_types.native.d.ts +10 -0
- package/dist/components/web/Avatars/AvatarGroup/avatarGroup.types.web.d.ts +1 -1
- package/dist/components/web/Cards/Credential/credential_styles.web.d.ts +1 -1
- package/dist/components/web/Checkbox/Checkbox/checkbox.web.d.ts +4 -0
- package/dist/components/web/Checkbox/Checkbox/checkbox_styles.web.d.ts +5 -0
- package/dist/components/web/Checkbox/Checkbox/checkbox_types.web.d.ts +12 -0
- package/dist/components/web/Checkbox/Checkbox/index.web.d.ts +2 -0
- package/dist/components/web/Headings/HeadingCredential/HeadingCredential_styles.web.d.ts +4 -1
- package/dist/components/web/Icons/icons/checkbox.d.ts +9 -0
- package/dist/components/web/Icons/icons/radioButton.d.ts +9 -0
- package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +15 -0
- package/dist/components/web/RadioButton/RadioButton/index.web.d.ts +2 -0
- package/dist/components/web/RadioButton/RadioButton/radioButton.web.d.ts +4 -0
- package/dist/components/web/RadioButton/RadioButton/radioButton_styles.web.d.ts +5 -0
- package/dist/components/web/RadioButton/RadioButton/radioButton_types.web.d.ts +12 -0
- package/dist/components/web/Switch/Switch/Switch.web.d.ts +4 -0
- package/dist/components/web/Switch/Switch/index.web.d.ts +2 -0
- package/dist/components/web/Switch/Switch/switch_styles.web.d.ts +8 -0
- package/dist/components/web/Switch/Switch/switch_types.web.d.ts +10 -0
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,9 @@ export { default as AvatarGroup } from './native/Avatars/AvatarGroup/index.nativ
|
|
|
16
16
|
export { default as TopAppBar } from './native/TopAppBar/TopAppBar/index.native';
|
|
17
17
|
export { default as ListMetaContainer } from './native/Lists/ListMetaContainer/index.native';
|
|
18
18
|
export { default as ListItem } from './native/Lists/ListItem/index.native';
|
|
19
|
+
export { default as Checkbox } from './native/Checkbox/Checkbox/index.native';
|
|
20
|
+
export { default as RadioButton } from './native/RadioButton/RadioButton/index.native';
|
|
21
|
+
export { default as Switch } from './native/Switch/Switch/index.native';
|
|
19
22
|
export { default as CheckIcon } from './native/Icons/icons/check';
|
|
20
23
|
export { default as InfoIcon } from './native/Icons/icons/info';
|
|
21
24
|
export { default as ChevronDownIcon } from './native/Icons/icons/chevronDown';
|
|
@@ -14,6 +14,9 @@ export { default as Avatar } from './web/Avatars/Avatar/index.web';
|
|
|
14
14
|
export { default as AvatarGroup } from './web/Avatars/AvatarGroup/index.web';
|
|
15
15
|
export { default as ListMetaContainer } from './web/Lists/ListMetaContainer/index.web';
|
|
16
16
|
export { default as ListItem } from './web/Lists/ListItem/index.web';
|
|
17
|
+
export { default as Checkbox } from './web/Checkbox/Checkbox/index.web';
|
|
18
|
+
export { default as RadioButton } from './web/RadioButton/RadioButton/index.web';
|
|
19
|
+
export { default as Switch } from './web/Switch/Switch/index.web';
|
|
17
20
|
export { default as CheckIcon } from './web/Icons/icons/check';
|
|
18
21
|
export { default as InfoIcon } from './web/Icons/icons/info';
|
|
19
22
|
export { default as ChevronDownIcon } from './web/Icons/icons/chevronDown';
|
|
@@ -2,7 +2,7 @@ import { HeadingContainerProps } from '../../Headings/HeadingContainer/HeadingCo
|
|
|
2
2
|
import { AvatarProps } from '../Avatar/Avatar.types.native';
|
|
3
3
|
export type AvatarGroupAlign = 'horizontal' | 'vertical';
|
|
4
4
|
export interface AvatarGroupProps {
|
|
5
|
-
avatar
|
|
5
|
+
avatar?: AvatarProps;
|
|
6
6
|
headingContainer: HeadingContainerProps;
|
|
7
7
|
align: AvatarGroupAlign;
|
|
8
8
|
containerStyle?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ColorsType } from '../../../../styles/Colors';
|
|
2
2
|
import { StyleType } from '../../../../styles';
|
|
3
|
-
export declare const styles: (colors: ColorsType, fontStyles: StyleType, background_color?: string) => {
|
|
3
|
+
export declare const styles: (topDataHeight: number, colors: ColorsType, fontStyles: StyleType, background_color?: string) => {
|
|
4
4
|
credCardContainer: {
|
|
5
5
|
display: "flex";
|
|
6
6
|
flexDirection: "column";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
checkboxContainer: {
|
|
3
|
+
display: "flex";
|
|
4
|
+
flexDirection: "row";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
gap: number;
|
|
7
|
+
alignSelf: "flex-start";
|
|
8
|
+
};
|
|
9
|
+
checkboxTextContainer: {
|
|
10
|
+
display: "flex";
|
|
11
|
+
flexDirection: "row";
|
|
12
|
+
alignItems: "center";
|
|
13
|
+
gap: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CheckboxSize = 'medium' | 'small';
|
|
2
|
+
export type CheckboxState = 'active' | 'default' | 'hover' | 'disable';
|
|
3
|
+
export type CheckboxAlign = 'left' | 'right';
|
|
4
|
+
export interface CheckboxProps {
|
|
5
|
+
state: CheckboxState;
|
|
6
|
+
leadingText?: string;
|
|
7
|
+
size?: CheckboxSize;
|
|
8
|
+
textAlign?: CheckboxAlign;
|
|
9
|
+
showInfoIcon?: boolean;
|
|
10
|
+
containerStyle?: any;
|
|
11
|
+
onPress?: (x?: any) => void;
|
|
12
|
+
}
|
package/dist/components/native/Headings/HeadingCredential/HeadingCredential_styles.native.d.ts
CHANGED
|
@@ -5,10 +5,49 @@ declare const _default: {
|
|
|
5
5
|
gap: number;
|
|
6
6
|
alignItems: "flex-end";
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
imageContainer: {
|
|
9
|
+
position: "relative";
|
|
9
10
|
width: number;
|
|
10
11
|
height: number;
|
|
12
|
+
overflow: "hidden";
|
|
11
13
|
borderRadius: number;
|
|
12
14
|
};
|
|
15
|
+
landscapeImage: {
|
|
16
|
+
position: "absolute";
|
|
17
|
+
left: "-100%";
|
|
18
|
+
right: "-100%";
|
|
19
|
+
top: "-100%";
|
|
20
|
+
bottom: "-100%";
|
|
21
|
+
margin: "auto";
|
|
22
|
+
minWidth: "100%";
|
|
23
|
+
minHeight: "100%";
|
|
24
|
+
maxHeight: "100%";
|
|
25
|
+
objectFit: "cover";
|
|
26
|
+
};
|
|
27
|
+
portraitImage: {
|
|
28
|
+
position: "absolute";
|
|
29
|
+
left: "-100%";
|
|
30
|
+
right: "-100%";
|
|
31
|
+
top: "-100%";
|
|
32
|
+
bottom: "-100%";
|
|
33
|
+
margin: "auto";
|
|
34
|
+
minWidth: "100%";
|
|
35
|
+
minHeight: "100%";
|
|
36
|
+
maxWidth: "100%";
|
|
37
|
+
objectFit: "cover";
|
|
38
|
+
};
|
|
39
|
+
squareImage: {
|
|
40
|
+
position: "absolute";
|
|
41
|
+
left: "-100%";
|
|
42
|
+
right: "-100%";
|
|
43
|
+
top: "-100%";
|
|
44
|
+
bottom: "-100%";
|
|
45
|
+
margin: "auto";
|
|
46
|
+
minWidth: "100%";
|
|
47
|
+
minHeight: "100%";
|
|
48
|
+
maxWidth: "100%";
|
|
49
|
+
maxHeight: "100%";
|
|
50
|
+
objectFit: "cover";
|
|
51
|
+
};
|
|
13
52
|
};
|
|
14
53
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles';
|
|
2
|
+
import { CheckboxSize, CheckboxState } from '../../Checkbox/Checkbox/checkbox_types.native';
|
|
3
|
+
type ChekboxIconProps = {
|
|
4
|
+
size: CheckboxSize;
|
|
5
|
+
colors: ColorsType;
|
|
6
|
+
state: CheckboxState;
|
|
7
|
+
};
|
|
8
|
+
declare const ChekboxIcon: (props: ChekboxIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ChekboxIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles';
|
|
2
|
+
import { RadioButtonSize, RadioButtonState } from '../../RadioButton/RadioButton/radioButton_types.native';
|
|
3
|
+
type RadioButtonIconProps = {
|
|
4
|
+
size: RadioButtonSize;
|
|
5
|
+
colors: ColorsType;
|
|
6
|
+
state: RadioButtonState;
|
|
7
|
+
};
|
|
8
|
+
declare const RadioButtonIcon: (props: RadioButtonIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default RadioButtonIcon;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { AvatarProps } from '../../Avatars/Avatar/Avatar.types.native';
|
|
2
2
|
import { MiniCredentialCardProps } from '../../Cards/MiniCredential/miniCredential_types.native';
|
|
3
|
+
import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.native';
|
|
4
|
+
import { IconSize } from '../../Icons/icon_types';
|
|
5
|
+
import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.native';
|
|
6
|
+
import { SwitchProps } from '../../Switch/Switch/switch_types.native';
|
|
3
7
|
export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
|
|
4
8
|
export type ListItemSize = 'medium' | 'small';
|
|
5
9
|
export type ListItemColor = 'black' | 'gray';
|
|
@@ -16,6 +20,17 @@ export interface ListItemProps {
|
|
|
16
20
|
helperText?: string;
|
|
17
21
|
avatar?: AvatarProps;
|
|
18
22
|
credential?: MiniCredentialCardProps;
|
|
23
|
+
checkbox?: CheckboxProps;
|
|
24
|
+
switchOpt?: SwitchProps;
|
|
25
|
+
radioButton?: RadioButtonProps;
|
|
26
|
+
LeadingIcon?: React.FC<{
|
|
27
|
+
size: IconSize;
|
|
28
|
+
color: string;
|
|
29
|
+
}>;
|
|
30
|
+
TrailingIcon?: React.FC<{
|
|
31
|
+
size: IconSize;
|
|
32
|
+
color: string;
|
|
33
|
+
}>;
|
|
19
34
|
containerStyle?: any;
|
|
20
35
|
onPress?: (x: any) => void;
|
|
21
36
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
radioButtonContainer: {
|
|
3
|
+
display: "flex";
|
|
4
|
+
flexDirection: "row";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
gap: number;
|
|
7
|
+
alignSelf: "flex-start";
|
|
8
|
+
};
|
|
9
|
+
radioButtonTextContainer: {
|
|
10
|
+
display: "flex";
|
|
11
|
+
flexDirection: "row";
|
|
12
|
+
alignItems: "center";
|
|
13
|
+
gap: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type RadioButtonSize = 'medium' | 'small';
|
|
2
|
+
export type RadioButtonState = 'active' | 'default' | 'hover' | 'disable';
|
|
3
|
+
export type RadioButtonAlign = 'left' | 'right';
|
|
4
|
+
export interface RadioButtonProps {
|
|
5
|
+
state: RadioButtonState;
|
|
6
|
+
leadingText?: string;
|
|
7
|
+
size?: RadioButtonSize;
|
|
8
|
+
textAlign?: RadioButtonAlign;
|
|
9
|
+
showInfoIcon?: boolean;
|
|
10
|
+
containerStyle?: any;
|
|
11
|
+
onPress?: (x?: any) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
generalContainer: {
|
|
3
|
+
display: "flex";
|
|
4
|
+
justifyContent: "flex-start";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
flexDirection: "row";
|
|
7
|
+
gap: number;
|
|
8
|
+
};
|
|
9
|
+
container: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
borderRadius: number;
|
|
13
|
+
display: "flex";
|
|
14
|
+
justifyContent: "center";
|
|
15
|
+
};
|
|
16
|
+
circle: {
|
|
17
|
+
borderRadius: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type SwitchSize = '32' | '24';
|
|
2
|
+
export type SwitchState = 'enable' | 'hover' | 'disable';
|
|
3
|
+
export interface SwitchProps {
|
|
4
|
+
state: SwitchState;
|
|
5
|
+
size: SwitchSize;
|
|
6
|
+
text?: string;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
containerStyle?: any;
|
|
9
|
+
onChange: (isActive?: boolean) => void;
|
|
10
|
+
}
|
|
@@ -2,7 +2,7 @@ import { HeadingContainerProps } from '../../Headings/HeadingContainer/HeadingCo
|
|
|
2
2
|
import { AvatarProps } from '../Avatar/Avatar.types.web';
|
|
3
3
|
export type AvatarGroupAlign = 'horizontal' | 'vertical';
|
|
4
4
|
export interface AvatarGroupProps {
|
|
5
|
-
avatar
|
|
5
|
+
avatar?: AvatarProps;
|
|
6
6
|
headingContainer: HeadingContainerProps;
|
|
7
7
|
align: AvatarGroupAlign;
|
|
8
8
|
containerStyle?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ColorsType } from '../../../../styles/Colors';
|
|
3
3
|
import { StyleType } from '../../../../styles';
|
|
4
|
-
export declare const styles: (colors: ColorsType, fontStyles: StyleType, background_color?: string, verifiedIcon?: boolean, hasGradient?: boolean) => {
|
|
4
|
+
export declare const styles: (topDataHeight: number, colors: ColorsType, fontStyles: StyleType, background_color?: string, verifiedIcon?: boolean, hasGradient?: boolean) => {
|
|
5
5
|
credCardContainer: React.CSSProperties;
|
|
6
6
|
linearGradientOverlay: React.CSSProperties;
|
|
7
7
|
credCardMainContent: React.CSSProperties;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CheckboxSize = 'medium' | 'small';
|
|
2
|
+
export type CheckboxState = 'active' | 'default' | 'hover' | 'disable';
|
|
3
|
+
export type CheckboxAlign = 'left' | 'right';
|
|
4
|
+
export interface CheckboxProps {
|
|
5
|
+
state: CheckboxState;
|
|
6
|
+
leadingText?: string;
|
|
7
|
+
size?: CheckboxSize;
|
|
8
|
+
textAlign?: CheckboxAlign;
|
|
9
|
+
showInfoIcon?: boolean;
|
|
10
|
+
containerStyle?: any;
|
|
11
|
+
onPress?: (x?: any) => void;
|
|
12
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const styles: () => {
|
|
3
3
|
headingCredentialContainer: React.CSSProperties;
|
|
4
|
-
|
|
4
|
+
imageContainer: React.CSSProperties;
|
|
5
|
+
landscapeImage: React.CSSProperties;
|
|
6
|
+
portraitImage: React.CSSProperties;
|
|
7
|
+
squareImage: React.CSSProperties;
|
|
5
8
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles';
|
|
2
|
+
import { CheckboxSize, CheckboxState } from '../../Checkbox/Checkbox/checkbox_types.web';
|
|
3
|
+
type ChekboxIconProps = {
|
|
4
|
+
size: CheckboxSize;
|
|
5
|
+
colors: ColorsType;
|
|
6
|
+
state: CheckboxState;
|
|
7
|
+
};
|
|
8
|
+
declare const ChekboxIcon: (props: ChekboxIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ChekboxIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles';
|
|
2
|
+
import { RadioButtonSize, RadioButtonState } from '../../RadioButton/RadioButton/radioButton_types.web';
|
|
3
|
+
type RadioButtonIconProps = {
|
|
4
|
+
size: RadioButtonSize;
|
|
5
|
+
colors: ColorsType;
|
|
6
|
+
state: RadioButtonState;
|
|
7
|
+
};
|
|
8
|
+
declare const RadioButtonIcon: (props: RadioButtonIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default RadioButtonIcon;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { AvatarProps } from '../../Avatars/Avatar/Avatar.types.web';
|
|
2
2
|
import { MiniCredentialCardProps } from '../../Cards/MiniCredential/miniCredential_types.web';
|
|
3
|
+
import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.web';
|
|
4
|
+
import { IconSize } from '../../Icons/icon_types';
|
|
5
|
+
import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.web';
|
|
6
|
+
import { SwitchProps } from '../../Switch/Switch/switch_types.web';
|
|
3
7
|
export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
|
|
4
8
|
export type ListItemSize = 'medium' | 'small';
|
|
5
9
|
export type ListItemColor = 'black' | 'gray';
|
|
@@ -17,5 +21,16 @@ export interface ListItemProps {
|
|
|
17
21
|
avatar?: AvatarProps;
|
|
18
22
|
credential?: MiniCredentialCardProps;
|
|
19
23
|
containerStyle?: any;
|
|
24
|
+
checkbox?: CheckboxProps;
|
|
25
|
+
switchOpt?: SwitchProps;
|
|
26
|
+
LeadingIcon?: React.FC<{
|
|
27
|
+
size: IconSize;
|
|
28
|
+
color: string;
|
|
29
|
+
}>;
|
|
30
|
+
TrailingIcon?: React.FC<{
|
|
31
|
+
size: IconSize;
|
|
32
|
+
color: string;
|
|
33
|
+
}>;
|
|
34
|
+
radioButton?: RadioButtonProps;
|
|
20
35
|
onPress?: (x: any) => void;
|
|
21
36
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type RadioButtonSize = 'medium' | 'small';
|
|
2
|
+
export type RadioButtonState = 'active' | 'default' | 'hover' | 'disable';
|
|
3
|
+
export type RadioButtonAlign = 'left' | 'right';
|
|
4
|
+
export interface RadioButtonProps {
|
|
5
|
+
state: RadioButtonState;
|
|
6
|
+
leadingText?: string;
|
|
7
|
+
size?: RadioButtonSize;
|
|
8
|
+
textAlign?: RadioButtonAlign;
|
|
9
|
+
showInfoIcon?: boolean;
|
|
10
|
+
containerStyle?: any;
|
|
11
|
+
onPress?: (x?: any) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ColorsType, StyleType } from '../../../../styles';
|
|
2
|
+
import { SwitchSize, SwitchState } from './switch_types.web';
|
|
3
|
+
export declare const styles: (width: number, currentState: SwitchState, circleSize: number, borderWidth: number, active: boolean, colors: ColorsType, fontStyles: StyleType, size: SwitchSize) => {
|
|
4
|
+
switchContainer: React.CSSProperties;
|
|
5
|
+
switch: React.CSSProperties;
|
|
6
|
+
switchCircle: React.CSSProperties;
|
|
7
|
+
text: React.CSSProperties;
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type SwitchSize = '32' | '24';
|
|
2
|
+
export type SwitchState = 'enable' | 'hover' | 'disable';
|
|
3
|
+
export interface SwitchProps {
|
|
4
|
+
state: SwitchState;
|
|
5
|
+
size: SwitchSize;
|
|
6
|
+
text?: string;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
containerStyle?: any;
|
|
9
|
+
onChange: (isActive?: boolean) => void;
|
|
10
|
+
}
|