Skip to content

Commit 998c979

Browse files
authored
Merge pull request JedWatson#4306 from JedWatson/fix-docs-createOptionPosition
Update Creatable.js to remove duplicate entry
2 parents 2d13c1f + 72f6036 commit 998c979

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changeset/ten-apples-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-select': minor
3+
---
4+
5+
Remove duplicate prop createOptionPosition

packages/react-select/src/Creatable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ export type CreatableProps = {
3636
created, and `onChange` will **not** be called. Use this when you need more
3737
control over what happens when new options are created. */
3838
onCreateOption?: string => void,
39-
/* Sets the position of the createOption element in your options list. Defaults to 'last' */
40-
createOptionPosition: 'first' | 'last',
4139
/* Name of the HTML Input (optional - without this, no input will be rendered) */
4240
name?: string,
4341
options?: OptionsType,

0 commit comments

Comments
 (0)