✏️ updating select option types

This commit is contained in:
Ilan 2018-10-01 22:28:18 +02:00 committed by 偏右
parent 09b11b6cde
commit bd2a58f745
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ Select component to select value from options.
| key | Same usage as `value`. If React request you to set this property, you can set it to value of option, and then omit value property. | string | |
| title | `title` of Select after select this Option | string | - |
| value | default to filter with this property | string\|number | - |
| className | additional class to option | string | - |
### OptGroup props

View File

@ -74,6 +74,8 @@ export interface OptionProps {
value?: string | number;
title?: string;
children?: React.ReactNode;
className?: string;
key?: string;
}
export interface OptGroupProps {