Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. import React, {useState} from "react";
  2. import ReactDOM from "react-dom";
  3. import styled from 'styled-components'
  4.  
  5. function App() {
  6.  
  7. const Button = styled.button`
  8. background: 'black';
  9. color: #fff;
  10. border: 0;
  11. padding: 7px 10px;`;
  12.  
  13. return (
  14. <div className="App">
  15. <Button> Click me! </Button>
  16. </div>
  17. );
  18. }
  19.  
  20. const rootElement = document.getElementById("root");
  21. ReactDOM.render(<App />, rootElement);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement