Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use react components for ICardForm page one and two #31

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

oyisre
Copy link
Collaborator

@oyisre oyisre commented Feb 16, 2022

Use of type ICardForm['pageOne'] is due to https://github(dot)com/Microsoft/TypeScript/issues/23911 (parameters are currently not inferred for derived functions in typescript)

React.ComponentClass would be any class extending React.Component (OuterCardForm for instance), and any function that returns a JSX element loosely counts as a React.FunctionComponent

@joshcds joshcds merged commit 9a2aad1 into develop Feb 16, 2022
@oyisre oyisre deleted the f/use-react-component-for-pages branch February 24, 2022 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants