File tree Expand file tree Collapse file tree 6 files changed +6
-20
lines changed
packages/carbon-component-mapper/src/files Expand file tree Collapse file tree 6 files changed +6
-20
lines changed Original file line number Diff line number Diff line change 1
1
import { FormGroupProps } from "./form-group" ;
2
- import { UseFieldApiComponentConfig , AnyObject } from "@data-driven-forms/react-form-renderer" ;
2
+ import { UseFieldApiComponentConfig } from "@data-driven-forms/react-form-renderer" ;
3
3
4
4
import { DatePickerProps as CarbonDatePickerProps , DatePickerInputProps } from 'carbon-components-react' ;
5
5
6
-
7
6
interface InternalDatePickerProps extends DatePickerInputProps {
8
7
datePickerType ?: string ;
9
- DatePickerProps ?: DatePickerProps ;
8
+ DatePickerProps ?: CarbonDatePickerProps ;
10
9
}
11
10
12
11
export type DatePickerProps = InternalDatePickerProps & FormGroupProps & UseFieldApiComponentConfig ;
Original file line number Diff line number Diff line change 1
- import { ReactNode } from "react" ;
2
-
3
1
export interface FormTemplateProps {
4
2
showFormControls ?: boolean ;
5
3
disableSubmit : string [ ] ;
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ import { UseFieldApiComponentConfig } from "@data-driven-forms/react-form-render
3
3
4
4
import { SliderProps as CarbonSliderProps } from 'carbon-components-react' ;
5
5
6
- interface InternalSliderProps extends CarbonSliderProps {
7
- }
8
-
9
- export type SliderProps = InternalSliderProps & FormGroupProps & UseFieldApiComponentConfig ;
6
+ export type SliderProps = CarbonSliderProps & FormGroupProps & UseFieldApiComponentConfig ;
10
7
11
8
declare const Slider : React . ComponentType < SliderProps > ;
12
9
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ import { UseFieldApiComponentConfig } from "@data-driven-forms/react-form-render
3
3
4
4
import { ToggleProps } from 'carbon-components-react' ;
5
5
6
- interface InternalSwitchProps extends ToggleProps { }
7
-
8
- export type SwitchProps = InternalSwitchProps & FormGroupProps & UseFieldApiComponentConfig ;
6
+ export type SwitchProps = ToggleProps & FormGroupProps & UseFieldApiComponentConfig ;
9
7
10
8
declare const Switch : React . ComponentType < SwitchProps > ;
11
9
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ import { UseFieldApiComponentConfig } from "@data-driven-forms/react-form-render
3
3
4
4
import { TextInputProps } from 'carbon-components-react' ;
5
5
6
- interface InternalTextFieldProps extends TextInputProps {
7
- }
8
-
9
- export type TextFieldProps = InternalTextFieldProps & FormGroupProps & UseFieldApiComponentConfig ;
6
+ export type TextFieldProps = TextInputProps & FormGroupProps & UseFieldApiComponentConfig ;
10
7
11
8
declare const TextField : React . ComponentType < TextFieldProps > ;
12
9
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ import { UseFieldApiComponentConfig } from "@data-driven-forms/react-form-render
3
3
4
4
import { TextAreaProps } from 'carbon-components-react' ;
5
5
6
- interface InternalTextareaProps extends TextAreaProps {
7
- }
8
-
9
- export type TextareaProps = InternalTextareaProps & FormGroupProps & UseFieldApiComponentConfig ;
6
+ export type TextareaProps = TextAreaProps & FormGroupProps & UseFieldApiComponentConfig ;
10
7
11
8
declare const Textarea : React . ComponentType < TextareaProps > ;
12
9
You can’t perform that action at this time.
0 commit comments