Skip to content

Commit

Permalink
Add support for React 18
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Nov 8, 2022
1 parent dcf6507 commit ebd4c59
Show file tree
Hide file tree
Showing 10 changed files with 1,977 additions and 2,360 deletions.
3 changes: 2 additions & 1 deletion __test_utils__/DynamicInputForm.tsx
@@ -1,3 +1,4 @@
import { PropsWithChildren } from 'react';
import * as React from 'react';
import Formsy from '../src';
import TestInput from './TestInput';
Expand All @@ -7,7 +8,7 @@ interface DynamicInputFormProps {
inputName?: string;
}

class DynamicInputForm extends React.Component<DynamicInputFormProps, { input: any }> {
class DynamicInputForm extends React.Component<PropsWithChildren<DynamicInputFormProps>, { input: any }> {
constructor(props) {
super(props);
this.state = {
Expand Down

0 comments on commit ebd4c59

Please sign in to comment.