-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet
Description
I'm creating a react-select component as follows:
<Select options={this.days} onChange={this.handleSelect} className={col-4} placeholder={Day} />
When it using it with flow, im getting the following two errors:
ERROR in Flow validation
Error -- node_modules/react-select/src/Select.js:446:23
Cannot assign defaultComponents(...) to this.components because:
- property children is missing in props [1] but exists in object type [2] in property Menu.
- property innerRef is missing in props [1] but exists in object type [2] in property Menu.
Error -- node_modules/react-select/src/components/Input.js:49:3
All branches are incompatible:
- Either property selectProps is missing in PropsWithStyles [1].
- Or property selectProps is missing in object type [2].
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet