Skip to content

Commit

Permalink
refactor(TextInput): Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccaalpert committed May 15, 2019
1 parent 997d7f9 commit d5cfc3c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -52,6 +52,7 @@ export class TextInput extends React.Component<TextInputProps> {
constructor(props: TextInputProps) {
super(props);
if (!props.id && !props['aria-label'] && !props['aria-labelledby']) {
// eslint-disable-next-line no-console
console.error('Text input:', 'Text input requires either an id or aria-label to be specified');
}
}
Expand Down

0 comments on commit d5cfc3c

Please sign in to comment.