Skip to content

Д/З#3

Open
Asliddin351 wants to merge 1 commit intomasterfrom
HomeWork-3
Open

Д/З#3
Asliddin351 wants to merge 1 commit intomasterfrom
HomeWork-3

Conversation

@Asliddin351
Copy link
Owner

No description provided.

@Asliddin351 Asliddin351 requested a review from ZarMarathon March 14, 2021 14:00
@Asliddin351 Asliddin351 self-assigned this Mar 14, 2021
Copy link
Collaborator

@ZarMarathon ZarMarathon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

доделай children для Layout плз

<Layout title='Somethin for layout' descr='somethin else for layout' colorBg={'red'}/>
<div className="flex">
{
s.map(item=><PokemonCard key={item.id} {...item} bg={bgImg}/>)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

лучше передавать только те пропсы, который нам нужны (в уроке говорил об этом), поправь к следующему уроку))

<div className='app'>
<Header title='Something' descr='something else'/>
<Layout title='Somethin for layout' descr='somethin else for layout' urlBg={PICACHU} />
<Layout title='Somethin for layout' descr='somethin else for layout' colorBg={'red'}/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а children для Layout?

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