ados-rcm 1.1.226 → 1.1.227
Sign up to get free protection for your applications and to get access to all the features.
@@ -57,15 +57,13 @@ interface IAChipBaseProps<T> {
|
|
57
57
|
* Description : label of AChip
|
58
58
|
*/
|
59
59
|
label: T;
|
60
|
+
}
|
61
|
+
export interface IAChipProps<T> extends IAChipBaseProps<T>, IABaseProps {
|
60
62
|
/**
|
63
|
+
* onDelete?: (label: T) => void
|
61
64
|
*
|
62
|
-
*
|
63
|
-
*
|
64
|
-
* Description : key of AChip, key is index of AChip
|
65
|
+
* Description : onDelete of the AChip
|
65
66
|
*/
|
66
|
-
key?: number;
|
67
|
-
}
|
68
|
-
export interface IAChipProps<T> extends IAChipBaseProps<T>, IABaseProps {
|
69
67
|
onDelete?: (label: T) => void;
|
70
68
|
/**
|
71
69
|
* icon? : TIcons | Exclude<React.ReactNode, string> = 'Close'
|
@@ -73,6 +71,12 @@ export interface IAChipProps<T> extends IAChipBaseProps<T>, IABaseProps {
|
|
73
71
|
* Description : icon of the AChip
|
74
72
|
*/
|
75
73
|
icon?: TIcons | Exclude<React.ReactNode, string>;
|
74
|
+
/**
|
75
|
+
* width? : number | string = 'auto'
|
76
|
+
*
|
77
|
+
* Description : width of the AChip
|
78
|
+
*/
|
79
|
+
width?: number | string;
|
76
80
|
}
|
77
81
|
export declare const AChip: <T>(props: IAChipProps<T>) => React.ReactElement;
|
78
82
|
export {};
|
@@ -47,6 +47,12 @@ export interface IAFileBoxProps extends IABaseProps {
|
|
47
47
|
* Description : callback function when file format is invalid (not in accept list)
|
48
48
|
*/
|
49
49
|
onInvalidFileFormat?: () => void;
|
50
|
+
/**
|
51
|
+
* fileSelectButtonClassName? : string
|
52
|
+
*
|
53
|
+
* Description : className of file select button
|
54
|
+
*/
|
55
|
+
fileSelectButtonClassName?: string;
|
50
56
|
}
|
51
57
|
/**
|
52
58
|
* AComponent : AFileBox
|