Skip to content

Commit

Permalink
Merge pull request Expensify#32179 from Expensify/nat-checkbox
Browse files Browse the repository at this point in the history
Fix vbba acceptTerms checkbox
  • Loading branch information
mountiny authored Nov 29, 2023
2 parents b06083c + 9f3b927 commit ef58238
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/CheckboxWithLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const propTypes = {
isChecked: PropTypes.bool,

/** Called when the checkbox or label is pressed */
onInputChange: PropTypes.func.isRequired,
onInputChange: PropTypes.func,

/** Container styles */
style: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),
Expand Down Expand Up @@ -77,10 +77,11 @@ const defaultProps = {
errorText: '',
shouldSaveDraft: false,
isChecked: false,
value: false,
value: undefined,
defaultValue: false,
forwardedRef: () => {},
accessibilityLabel: undefined,
onInputChange: () => {},
};

function CheckboxWithLabel(props) {
Expand Down

0 comments on commit ef58238

Please sign in to comment.