Skip to content

Commit

Permalink
match Picker types to web
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesdobson committed Nov 4, 2024
1 parent dca5d92 commit 1f6f226
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ interface Header {

interface PickerOptions {
heading?: string;
description?: string;
multiple?: boolean | number;
items: Item[];
headers?: Header[];
searchPlaceholder?: string;
}

export type Progress = 'incomplete' | 'partiallyComplete' | 'complete';
Expand All @@ -31,6 +29,7 @@ interface Item {
heading: string;
data?: [] | [DataPoint] | [DataPoint, DataPoint];
disabled?: boolean;
selected?: boolean;
badges?: [] | [Badge] | [Badge, Badge];
thumbnail?: {url: string};
}
Expand Down

0 comments on commit 1f6f226

Please sign in to comment.