Skip to content

Commit

Permalink
Merge pull request JedWatson#4306 from JedWatson/fix-docs-createOptio…
Browse files Browse the repository at this point in the history
…nPosition

Update Creatable.js to remove duplicate entry
  • Loading branch information
ebonow committed Dec 2, 2020
2 parents 2d13c1f + 72f6036 commit 998c979
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-apples-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-select': minor
---

Remove duplicate prop createOptionPosition
2 changes: 0 additions & 2 deletions packages/react-select/src/Creatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export type CreatableProps = {
created, and `onChange` will **not** be called. Use this when you need more
control over what happens when new options are created. */
onCreateOption?: string => void,
/* Sets the position of the createOption element in your options list. Defaults to 'last' */
createOptionPosition: 'first' | 'last',
/* Name of the HTML Input (optional - without this, no input will be rendered) */
name?: string,
options?: OptionsType,
Expand Down

0 comments on commit 998c979

Please sign in to comment.