Download wp-calypso/client/landing/browsehappy/circle.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/browsehappy/circle.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/landing/browsehappy/circle.jsx
-
curl -L -o circle.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/browsehappy/circle.jsx
282 Bytes
| import clsx from 'clsx'; | |
| import './circle.scss'; | |
| export default function Circle( { size = 'medium', color = 'gray', position = '1' } ) { | |
| const className = clsx( 'circle', `is-${ size }`, `is-${ color }`, `is-position-${ position }` ); | |
| return <div className={ className } />; | |
| } | |