Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
djalmaaraujo committed Nov 24, 2022
1 parent e30672f commit 9cfedda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/system/Form/Radio.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ const CustomLabel = ( { children } ) => (
</>
);

CustomLabel.propTypes = {
children: PropTypes.shape( { props: { className: PropTypes.any, sx: PropTypes.object } } )
.isRequired,
};

const Radio = React.forwardRef(
(
{ disabled, defaultValue, onChange, name = '', options = [], className, ...props },
Expand Down Expand Up @@ -149,6 +154,7 @@ Radio.propTypes = {
onChange: PropTypes.func,
options: PropTypes.array,
name: PropTypes.string,
className: PropTypes.any,
};

export { Radio };

0 comments on commit 9cfedda

Please sign in to comment.