Optional parameters for Option interface (#12681)

This commit is contained in:
Artem Roshko
2016-11-16 00:07:19 +05:00
committed by Mohamed Hegazy
parent d056f0b650
commit cd4b2b6aa1

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