Optional parameters for Option interface (#12681)

This commit is contained in:
Artem Roshko
2016-11-15 11:07:19 -08:00
committed by Mohamed Hegazy
parent d056f0b650
commit cd4b2b6aa1
+2 -2
View File
@@ -20,9 +20,9 @@ declare namespace ReactSelectClass {
export interface Option {
/** Text for rendering */
label: string;
label?: string;
/** Value for searching */
value: string | number;
value?: string | number;
/**
* Allow this option to be cleared
* @default true