Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, {useState} from "react";
- import ReactDOM from "react-dom";
- import styled from 'styled-components'
- function App() {
- const Button = styled.button`
- background: 'black';
- color: #fff;
- border: 0;
- padding: 7px 10px;`;
- return (
- <div className="App">
- <Button> Click me! </Button>
- </div>
- );
- }
- const rootElement = document.getElementById("root");
- ReactDOM.render(<App />, rootElement);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement