Skip to content

Commit

Permalink
Label of radio-input.js is not mandatory
Browse files Browse the repository at this point in the history
Signed-off-by: Florent MILLOT <millotflo@gmail.com>
  • Loading branch information
flomillot committed Aug 9, 2023
1 parent 89f9348 commit e345ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/react-hook-form/radio-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const RadioInput = ({ name, label, id, options, formProps }) => {

RadioInput.propTypes = {
name: PropTypes.string.isRequired,
label: PropTypes.string.isRequired,
label: PropTypes.string,
id: PropTypes.string,
options: PropTypes.array.isRequired,
formProps: PropTypes.object,
Expand Down

0 comments on commit e345ab5

Please sign in to comment.