MCPcopy
hub / github.com/CodecWang/opencv-python-tutorial / Feature

Function Feature

src/components/HomepageFeatures/index.tsx:34–50  ·  view source on GitHub ↗
({ title, link, Svg, description }: FeatureItem)

Source from the content-addressed store, hash-verified

32];
33
34function Feature({ title, link, Svg, description }: FeatureItem) {
35 const history = useHistory();
36 return (
37 <div
38 className={clsx("col col--4") + ` ${styles.featureItem}`}
39 onClick={() => history.push(link)}
40 >
41 <div className="text--center">
42 <Svg className={styles.featureSvg} role="img" />
43 </div>
44 <div className="text--center padding-horiz--md">
45 <h3>{title}</h3>
46 <p>{description}</p>
47 </div>
48 </div>
49 );
50}
51
52export default function HomepageFeatures(): JSX.Element {
53 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected