Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 9658ce1

Browse files
committed
fix proptype
1 parent 75460e3 commit 9658ce1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/molecules/Form/Form.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import cn from 'classnames'
2+
import {Form as FormikForm, Formik} from 'formik'
3+
import PropTypes from 'prop-types'
14
import React from 'react'
2-
import {Formik, Form as FormikForm} from 'formik'
35
import styles from './Form.module.css'
4-
import PropTypes from 'prop-types'
5-
import cn from 'classnames'
66

77
/**
88
* Render Form component.
@@ -46,7 +46,7 @@ export default function Form({
4646
}
4747

4848
Form.propTypes = {
49-
children: PropTypes.oneOfType([PropTypes.func, PropTypes.element]),
49+
children: PropTypes.any,
5050
className: PropTypes.string,
5151
formDefaults: PropTypes.object,
5252
id: PropTypes.string,

0 commit comments

Comments
 (0)