Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import styled from 'styled-components';
- const Div = styled.div`
- margin: 40px;
- border: 5px outset pink;
- &:hover {
- background-color: yellow;
- }
- `;
- const Paragraph = styled.p`
- font-size: 15px;
- text-align: center;
- `;
- const OutsetBox = () => (
- <Div>
- <Paragraph>Get started with styled-components 💅</Paragraph>
- </Div>
- );
- export default OutsetBox;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement