Skip to content

Commit

Permalink
Merge pull request #1414 from And678/master
Browse files Browse the repository at this point in the history
Added a requirement to README.md
  • Loading branch information
mgrinko authored Jun 28, 2023
2 parents b43531c + 445d116 commit f3b767d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ and use it 3 times inside the `App` instead of static markup.
- pass the whole person as a prop `<Person person={misha} />` (**not** individual fields);
- omit `age` if it is not given;
- if a man is married use `wife` for a partner and `husband` if a woman is married;
- if a person is not marriend - print `I am not married` message.
- if a person is not marriend - print `I am not married` message;
- keep the same classNames in `Person.jsx` as in `App.jsx` (`Person`, `Person__name`, `Person__age`, `Person__partner`).

## Instructions
- Implement a solution following the [React task guideline](https://github.com/mate-academy/react_task-guideline#react-tasks-guideline).
Expand Down

0 comments on commit f3b767d

Please sign in to comment.