Skip to content

Commit d8469b4

Browse files
Returned optional params
1 parent bb3f1db commit d8469b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/dropdown.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* @doNotUseTextArray {boolean} - If the dropdown should not use the text array
1313
*/
1414
export type DropdownProps = {
15-
options: string[] | any[];
16-
buttonName: string;
17-
selectedOption: (event: any) => void;
15+
options?: string[] | any[];
16+
buttonName?: string;
17+
selectedOption?: (event: any) => void;
1818
disabled?: boolean;
1919
onlyArray?: boolean;
2020
dropdownClasses?: string;

0 commit comments

Comments
 (0)