Download react-boilerplate/app/components/Button/buttonStyles.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 556 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-boilerplate/app/components/Button/buttonStyles.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-boilerplate/app/components/Button/buttonStyles.js
-
curl -L -o buttonStyles.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-boilerplate/app/components/Button/buttonStyles.js
556 Bytes
| import { css } from 'styled-components'; | |
| const buttonStyles = css` | |
| display: inline-block; | |
| box-sizing: border-box; | |
| padding: 0.25em 2em; | |
| text-decoration: none; | |
| border-radius: 4px; | |
| -webkit-font-smoothing: antialiased; | |
| -webkit-touch-callout: none; | |
| user-select: none; | |
| cursor: pointer; | |
| outline: 0; | |
| font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| font-weight: bold; | |
| font-size: 16px; | |
| border: 2px solid #41addd; | |
| color: #41addd; | |
| &:active { | |
| background: #41addd; | |
| color: #fff; | |
| } | |
| `; | |
| export default buttonStyles; | |