Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tokenSeparators prop to Select TS definitions #4441

Merged
merged 1 commit into from
Jan 2, 2017

Conversation

eddhannay
Copy link

@eddhannay eddhannay commented Jan 2, 2017

The documentation lists the tokenSeparators property on the Select component, but the TypeScript definition for the component does not contain the tokenSeparators property. The underlying rc-select component defines tokenSeparators as PropTypes.arrayOf(PropTypes.string), so I've added it as an optional TypeScript property of type string[].

  • Add tokenSeparators to SelectProps in Select Component

[The documentation](https://ant.design/components/select/) lists the `tokenSeparators` property on the `Select` component, but the TypeScript definition for the component does not contain the `tokenSeparators` property. The underlying `rc-select` component [defines tokenSeparators](https://github.com/react-component/select/blob/master/src/Select.jsx#L79) as `PropTypes.arrayOf(PropTypes.string)`, so I've added it as an optional TypeScript property of type `string[]`.

- Add tokenSeparators to SelectProps in Select Component
@mention-bot
Copy link

@eddhannay, thanks for your PR! By analyzing the history of the files in this pull request, we identified @benjycui, @afc163 and @infeng to be potential reviewers.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 71.903% when pulling edbb516 on eddhannay:patch-1 into ffa7f9b on ant-design:master.

@yesmeck yesmeck merged commit ec2bec5 into ant-design:master Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants