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

35_b_post info #40

Merged
merged 3 commits into from
Nov 27, 2021
Merged

35_b_post info #40

merged 3 commits into from
Nov 27, 2021

Conversation

kacperzolkiewski
Copy link
Collaborator

No description provided.

@kacperzolkiewski kacperzolkiewski self-assigned this Nov 27, 2021
@@ -0,0 +1,10 @@
.header {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Super, że potrafiłeś to zrobić przez imortowane css'y. Ale nie chciałbyś może skorzystać się z Material UI. Będzie to bardziej konsystentne z pozostałym kodem. Material UI ma do tego przeznaczone komponenty, na przykład: Box lub Container oraz property sx, w którym możesz przekazać te same style co w css klasach.


const PostInfo: React.FC<PostINfoProps> = ({image, userName, description, data}) => {
return (
<div className="postInfo">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Chyba nie zdefiniowałeś nigdzie tą klasę.

@vladfedoriuk vladfedoriuk merged commit 233fe08 into master Nov 27, 2021
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.

3 participants