diff --git a/components/select/index.en-US.md b/components/select/index.en-US.md index 83d9f928ed..0f7c1ad615 100644 --- a/components/select/index.en-US.md +++ b/components/select/index.en-US.md @@ -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 diff --git a/components/select/index.tsx b/components/select/index.tsx index 9bb5d36dd0..bda4c8d966 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -74,6 +74,8 @@ export interface OptionProps { value?: string | number; title?: string; children?: React.ReactNode; + className?: string; + key?: string; } export interface OptGroupProps {