Skip to content

Commit 0a3e8cc

Browse files
committed
fix(suir): remove meta and input from props
1 parent 99cbdac commit 0a3e8cc

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

packages/suir-component-mapper/src/files/checkbox.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import { FormCheckbox } from 'semantic-ui-react';
4-
import { meta, input } from '@data-driven-forms/common/src/prop-types-templates';
54

65
import FormFieldGrid from '../common/form-field-grid';
76
import { validationError } from '../common/helpers';
@@ -51,8 +50,6 @@ export const SingleCheckbox = (props) => {
5150
};
5251

5352
SingleCheckbox.propTypes = {
54-
input,
55-
meta,
5653
isReadOnly: PropTypes.bool,
5754
isDisabled: PropTypes.bool,
5855
isRequired: PropTypes.bool,

packages/suir-component-mapper/src/files/date-picker.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
33

44
import FormFieldGrid from '../common/form-field-grid';
55
import { validationError } from '../common/helpers';
6-
import { meta, input } from '@data-driven-forms/common/src/prop-types-templates';
76
import { useFieldApi } from '@data-driven-forms/react-form-renderer';
87
import FormField from '../common/form-field';
98

@@ -44,8 +43,6 @@ const DatePicker = (props) => {
4443
};
4544

4645
DatePicker.propTypes = {
47-
input,
48-
meta,
4946
isReadOnly: PropTypes.bool,
5047
isDisabled: PropTypes.bool,
5148
placeholder: PropTypes.node,

packages/suir-component-mapper/src/files/switch.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
3-
import { meta, input } from '@data-driven-forms/common/src/prop-types-templates';
43
import { FormCheckbox } from 'semantic-ui-react';
54
import { useFieldApi } from '@data-driven-forms/react-form-renderer';
65
import FormFieldGrid from '../common/form-field-grid';
@@ -73,8 +72,6 @@ export const Switch = (props) => {
7372
};
7473

7574
Switch.propTypes = {
76-
input,
77-
meta,
7875
isReadOnly: PropTypes.bool,
7976
isDisabled: PropTypes.bool,
8077
isRequired: PropTypes.bool,

packages/suir-component-mapper/src/files/text-field.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
33
import { Input } from 'semantic-ui-react';
44

55
import { validationError } from '../common/helpers';
6-
import { meta, input } from '@data-driven-forms/common/src/prop-types-templates';
76
import { useFieldApi } from '@data-driven-forms/react-form-renderer';
87
import FormFieldGrid from '../common/form-field-grid';
98
import FormField from '../common/form-field';
@@ -47,8 +46,6 @@ const TextField = (props) => {
4746
};
4847

4948
TextField.propTypes = {
50-
input,
51-
meta,
5249
isReadOnly: PropTypes.bool,
5350
isDisabled: PropTypes.bool,
5451
placeholder: PropTypes.node,

packages/suir-component-mapper/src/files/time-picker.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
33

44
import FormFieldGrid from '../common/form-field-grid';
55
import { validationError } from '../common/helpers';
6-
import { meta, input } from '@data-driven-forms/common/src/prop-types-templates';
76
import { useFieldApi } from '@data-driven-forms/react-form-renderer';
87
import FormField from '../common/form-field';
98

@@ -34,8 +33,6 @@ const TimePicker = (props) => {
3433
};
3534

3635
TimePicker.propTypes = {
37-
input,
38-
meta,
3936
isReadOnly: PropTypes.bool,
4037
isDisabled: PropTypes.bool,
4138
placeholder: PropTypes.node,

0 commit comments

Comments
 (0)