Add typescript

This commit is contained in:
Mark McDowall
2023-01-05 18:43:51 -08:00
committed by Qstick
parent 1290d68f29
commit 545d47b05c
17 changed files with 1347 additions and 375 deletions
+9 -1
View File
@@ -4,7 +4,15 @@ import Alert from 'Components/Alert';
import { kinds } from 'Helpers/Props';
import styles from './Form.css';
function Form({ children, validationErrors, validationWarnings, ...otherProps }) {
function Form(props) {
const {
children,
validationErrors,
validationWarnings,
// eslint-disable-next-line no-unused-vars
...otherProps
} = props;
return (
<div>
{