INNER CODE UNIT · JavaScript
Feature
SamHatoum/chimp · documentation/src/pages/index.js:83
function Feature({ imageUrl, title, description }) {
const imgUrl = useBaseUrl(imageUrl);
return (
<div className={clsx('col col--4', styles.feature)}>
{imgUrl && (
<div className="text--center">
<img className={styles.featureImage} src={imgUrl} alt={title} />
</div>
)}
<h3>{title}</h3>
<p>{description}</p>
</div>
);
}
//
const ChimpLogo = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" width="244" height="77" viewBox="0 0 244 77" {...props}>