Download client/src/components/CommonPanel.js from linuxrun/deer: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/linuxrun/deer/resolve/main/client/src/components/CommonPanel.js
- Command line
-
hf download hf://spaces/linuxrun/deer/client/src/components/CommonPanel.js
-
curl -L -o CommonPanel.js https://huggingface.co/spaces/linuxrun/deer/resolve/main/client/src/components/CommonPanel.js
442 Bytes
| import React, { Component } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import styles from './CommonPanel.cm.styl'; | |
| class CommonPanel extends Component { | |
| constructor(props) { | |
| super(props); | |
| } | |
| render() { | |
| const { | |
| title, | |
| } = this.props; | |
| return ( | |
| <div className={styles.base}> | |
| <div className={styles.title}> | |
| {title} | |
| </div> | |
| </div> | |
| ); | |
| } | |
| } | |
| export default CommonPanel; | |