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 11import { 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' ;
33import { ReactNode } from "react" ;
4- import { FormFieldGridProps , HelperTextProps } from "./form-field-grid" ;
54import { CommonFieldProps } from "./common-field-props" ;
65
76export interface CheckboxOption extends AnyObject {
@@ -11,10 +10,6 @@ export interface CheckboxOption extends AnyObject {
1110
1211interface InternalCheckboxProps extends SuirCheckboxProps {
1312 options ?: CheckboxOption [ ] ;
14- /** Sub components customization API */
15- FormFieldProps ?: FormFieldProps ;
16- HeaderProps ?: HeaderProps ;
17- OptionsListProps ?: React . HTMLProps < HTMLDivElement > ;
1813}
1914
2015export type CheckboxProps = InternalCheckboxProps & CommonFieldProps & UseFieldApiComponentConfig ;
Original file line number Diff line number Diff line change @@ -71,17 +71,11 @@ Checkbox.propTypes = {
7171 options : PropTypes . array ,
7272 /** Sub components customization API */
7373 FormFieldGridProps : PropTypes . object ,
74- FormFieldProps : PropTypes . object ,
75- HeaderProps : PropTypes . object ,
76- OptionsListProps : PropTypes . object ,
7774 HelperTextProps : PropTypes . object
7875} ;
7976
8077Checkbox . defaultProps = {
8178 FormFieldGridProps : { } ,
82- FormFieldProps : { } ,
83- HeaderProps : { } ,
84- OptionsListProps : { } ,
8579 HelperTextProps : { }
8680} ;
8781
You can’t perform that action at this time.
0 commit comments