---
title: "Comment by Shimbarks on \"Intro to Styled Components for your React App\" | Hashnode"
description: "Thanks for the article! I believe you meant justify-content and not justify-items : export const Wrapper = styled.div` display: flex; justify-items: center; ali"
url: "https://hashnode.com/posts/intro-to-styled-components-for-your-react-app/6022606a281265375d644372/comment/6023a71150d5e944c5d467b5"
---

[Discussion](https://hashnode.com/posts/intro-to-styled-components-for-your-react-app/6022606a281265375d644372)

Comment [Intro to Styled Components for your React App](https://hashnode.com/posts/intro-to-styled-components-for-your-react-app/6022606a281265375d644372)

[Shimbarks](https://hashnode.com/@Shimbarks)

[Feb 10, 2021](https://hashnode.com/posts/intro-to-styled-components-for-your-react-app/6022606a281265375d644372/comment/6023a71150d5e944c5d467b5)

Thanks for the article!

I believe you meant `justify-content` and not `justify-items`:

```
export const Wrapper = styled.div`
  display: flex;
  justify-items: center;
  align-items: center;
  margin-top: 1rem;
`;
```

[Olena Drugalya](https://hashnode.com/@Olena)

[Feb 10, 2021](https://hashnode.com/posts/intro-to-styled-components-for-your-react-app/6022606a281265375d644372/comment/6023a71150d5e944c5d467b5#reply-6023a7ca80da6c44eadf67d3)

Yes, thank you!
