@apexcura/ui-components 0.0.16-Beta1023 → 0.0.16-Beta1026
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.
|
@@ -6,6 +6,11 @@ interface DateRangeSegmentType {
|
|
|
6
6
|
}
|
|
7
7
|
interface DateRangeSegmentsProps extends ElementType {
|
|
8
8
|
value?: DateRangeSegmentType | null;
|
|
9
|
+
segmentedOptions?: {
|
|
10
|
+
tooltip: string;
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
9
14
|
}
|
|
10
15
|
export declare const DateRangeSegments: (props: DateRangeSegmentsProps) => React.JSX.Element;
|
|
11
16
|
export {};
|
package/dist/Types/types.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export type ElementType = {
|
|
|
125
125
|
label?: string;
|
|
126
126
|
value?: string;
|
|
127
127
|
icon?: string;
|
|
128
|
+
tooltip?: string;
|
|
128
129
|
color?: string;
|
|
129
130
|
}[];
|
|
130
131
|
firstOptions?: {
|
|
@@ -265,7 +266,11 @@ export type ElementType = {
|
|
|
265
266
|
isBack?: boolean;
|
|
266
267
|
showCount?: boolean;
|
|
267
268
|
avatarClassName?: string;
|
|
268
|
-
segmentedOptions?: string[]
|
|
269
|
+
segmentedOptions?: string[] | {
|
|
270
|
+
tooltip: string;
|
|
271
|
+
label: string;
|
|
272
|
+
value: string;
|
|
273
|
+
}[];
|
|
269
274
|
manageRadioButton?: boolean;
|
|
270
275
|
cardClassname?: string;
|
|
271
276
|
titleClassName?: string;
|