Download client/src/components/SloganCard.js from linuxrun/deer: direct link, hf CLI and curl.
- Browser
- Download file 570 Bytes
-
https://huggingface.co/spaces/linuxrun/deer/resolve/main/client/src/components/SloganCard.js
- Command line
-
hf download hf://spaces/linuxrun/deer/client/src/components/SloganCard.js
-
curl -L -o SloganCard.js https://huggingface.co/spaces/linuxrun/deer/resolve/main/client/src/components/SloganCard.js
570 Bytes
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import styles from './SloganCard.cm.styl'; | |
| function SloganCard({ title, desc, icon }) { | |
| return ( | |
| <div className={styles.card}> | |
| <div className={styles.title}> | |
| {icon} | |
| <span className={styles.titleText}>{title}</span> | |
| </div> | |
| <div className={styles.desc}> | |
| {desc} | |
| </div> | |
| </div> | |
| ); | |
| } | |
| SloganCard.defaultProps = {}; | |
| SloganCard.propTypes = { | |
| title: PropTypes.string, | |
| desc: PropTypes.string, | |
| icon: PropTypes.element, | |
| }; | |
| export default SloganCard; | |