mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
18 lines
383 B
TypeScript
18 lines
383 B
TypeScript
import { Testimony as TestimonyType } from '@/data/testimonials';
|
|
|
|
import styles from './Testimony.module.scss';
|
|
|
|
type Props = TestimonyType;
|
|
|
|
const Testimony: React.FC<Props> = ({ name, message }) => {
|
|
return (
|
|
<div className={styles.testimony}>
|
|
<blockquote>{message}</blockquote>
|
|
|
|
<figcaption>— {name}</figcaption>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Testimony;
|