Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Simplify Label propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Aug 23, 2019
1 parent 850dc62 commit 1fcd28a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions assets/js/base/components/label/index.js
Expand Up @@ -52,10 +52,7 @@ const Label = ( { label, screenReaderLabel, wrapperElement, wrapperProps } ) =>
Label.propTypes = {
label: PropTypes.string,
screenReaderLabel: PropTypes.string,
wrapperElement: PropTypes.oneOfType( [
PropTypes.string,
PropTypes.elementType,
] ),
wrapperElement: PropTypes.elementType,
wrapperProps: PropTypes.object,
};

Expand Down

0 comments on commit 1fcd28a

Please sign in to comment.