File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/lib/forms/widgets/text Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { RadioField } from "../../RadioField";
13
13
14
14
import { useField } from "formik" ;
15
15
16
- export default function BooleanInput ( {
16
+ export default function BooleanCheckbox ( {
17
17
description,
18
18
icon,
19
19
falseLabel,
@@ -56,7 +56,7 @@ export default function BooleanInput({
56
56
) ;
57
57
}
58
58
59
- BooleanInput . propTypes = {
59
+ BooleanCheckbox . propTypes = {
60
60
fieldPath : PropTypes . string . isRequired ,
61
61
label : PropTypes . string . isRequired ,
62
62
trueLabel : PropTypes . string . isRequired ,
@@ -66,7 +66,7 @@ BooleanInput.propTypes = {
66
66
required : PropTypes . bool ,
67
67
} ;
68
68
69
- BooleanInput . defaultProps = {
69
+ BooleanCheckbox . defaultProps = {
70
70
icon : undefined ,
71
71
required : false ,
72
72
} ;
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ export { default as TextArea } from "./TextArea";
3
3
export { default as Input } from "./Input" ;
4
4
export { default as MultiInput } from "./MultiInput" ;
5
5
export { default as NumberInput } from "./NumberInput" ;
6
- export { default as BooleanInput } from "./BooleanInput " ;
6
+ export { default as BooleanCheckbox } from "./BooleanCheckbox " ;
You can’t perform that action at this time.
0 commit comments