Download wp-calypso/client/my-sites/stats/stats-module/content-text.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/stats/stats-module/content-text.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/stats/stats-module/content-text.jsx
-
curl -L -o content-text.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/stats/stats-module/content-text.jsx
391 Bytes
| import clsx from 'clsx'; | |
| import PropTypes from 'prop-types'; | |
| import { Component } from 'react'; | |
| export default class extends Component { | |
| static displayName = 'StatsModuleContentText'; | |
| static propTypes = { | |
| className: PropTypes.string, | |
| }; | |
| render() { | |
| return ( | |
| <div className={ clsx( 'module-content-text', this.props.className ) }> | |
| { this.props.children } | |
| </div> | |
| ); | |
| } | |
| } | |