We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73eb8a5 commit 8e3731dCopy full SHA for 8e3731d
packages/ui-extensions/src/surfaces/admin/api/picker/picker.ts
@@ -1,5 +1,3 @@
1
-import {BadgeProps} from '../../components/Badge';
2
-
3
interface Picker {
4
/**
5
* A Promise that resolves with the selected item IDs when the user presses the "Select" button in the picker.
@@ -40,11 +38,12 @@ interface PickerOptions {
40
38
headers?: Header[];
41
39
}
42
+export type Tone = 'info' | 'success' | 'warning' | 'critical';
43
export type Progress = 'incomplete' | 'partiallyComplete' | 'complete';
44
type DataPoint = string | number | undefined;
45
interface Badge {
46
content: string;
47
- tone?: BadgeProps['tone'];
+ tone?: Tone;
48
progress?: Progress;
49
50
0 commit comments