23 lines
398 B
TypeScript
23 lines
398 B
TypeScript
import React from 'react';
|
|
|
|
interface FeatureCardOneProps {
|
|
title: string;
|
|
description: string;
|
|
className?: string;
|
|
}
|
|
|
|
const FeatureCardOne: React.FC<FeatureCardOneProps> = ({
|
|
title,
|
|
description,
|
|
className = '',
|
|
}) => {
|
|
return (
|
|
<div className={`feature-card-one ${className}`}>
|
|
<h2>{title}</h2>
|
|
<p>{description}</p>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default FeatureCardOne;
|