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

Componentise show results component #35

Closed
brauliodiez opened this issue Mar 18, 2021 · 0 comments
Closed

Componentise show results component #35

brauliodiez opened this issue Mar 18, 2021 · 0 comments
Assignees

Comments

@brauliodiez
Copy link
Member

brauliodiez commented Mar 18, 2021

Check this PR

#29

In this branch

feature/--style-results

Componentise the ShowResults component:

src/pods/test-verb-forms/components/show-results.component.tsx

And the final result should look something like:

export const ShowResults: React.FC<Props> = props => {
  return verbCorrect.all ? (
    <ShowResultCorrect/>
  ) 
  : (
   <ShowResultFailed/>
  )
}
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

No branches or pull requests

2 participants