File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
packages/suir-component-mapper/src/files Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 1
1
import { UseFieldApiComponentConfig , AnyObject } from "@data-driven-forms/react-form-renderer" ;
2
- import { CheckboxProps as SuirCheckboxProps , FormFieldProps , HeaderProps } from 'semantic-ui-react' ;
2
+ import { CheckboxProps as SuirCheckboxProps } from 'semantic-ui-react' ;
3
3
import { ReactNode } from "react" ;
4
- import { FormFieldGridProps , HelperTextProps } from "./form-field-grid" ;
5
4
import { CommonFieldProps } from "./common-field-props" ;
6
5
7
6
export interface CheckboxOption extends AnyObject {
@@ -11,10 +10,6 @@ export interface CheckboxOption extends AnyObject {
11
10
12
11
interface InternalCheckboxProps extends SuirCheckboxProps {
13
12
options ?: CheckboxOption [ ] ;
14
- /** Sub components customization API */
15
- FormFieldProps ?: FormFieldProps ;
16
- HeaderProps ?: HeaderProps ;
17
- OptionsListProps ?: React . HTMLProps < HTMLDivElement > ;
18
13
}
19
14
20
15
export type CheckboxProps = InternalCheckboxProps & CommonFieldProps & UseFieldApiComponentConfig ;
Original file line number Diff line number Diff line change @@ -71,17 +71,11 @@ Checkbox.propTypes = {
71
71
options : PropTypes . array ,
72
72
/** Sub components customization API */
73
73
FormFieldGridProps : PropTypes . object ,
74
- FormFieldProps : PropTypes . object ,
75
- HeaderProps : PropTypes . object ,
76
- OptionsListProps : PropTypes . object ,
77
74
HelperTextProps : PropTypes . object
78
75
} ;
79
76
80
77
Checkbox . defaultProps = {
81
78
FormFieldGridProps : { } ,
82
- FormFieldProps : { } ,
83
- HeaderProps : { } ,
84
- OptionsListProps : { } ,
85
79
HelperTextProps : { }
86
80
} ;
87
81
You can’t perform that action at this time.
0 commit comments