We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After babel-eslint 10.0
type Props = { onRowSelected: string => void, users: Array<UserType> } export default class NetworkTable extends Component<Props> { onRowSelected = (event: { data: { profile: string } }) => { const { onRowSelected } = this.props onRowSelected(event.data.profile) }
.../table.js 24:13 error 'onRowSelected' is missing in props validation react/prop-types
Versions:
The text was updated successfully, but these errors were encountered:
If you name the class field something else, does the error disappear?
Sorry, something went wrong.
@ljharb it doesn't disappear but it seems babel/babel-eslint#697 fixed issue for us.
OK - I'm going to close this then, as it seems a bug in babel-eslint.
No branches or pull requests
After babel-eslint 10.0
Versions:
The text was updated successfully, but these errors were encountered: