mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-11 22:54:46 +08:00
17 lines
336 B
TypeScript
17 lines
336 B
TypeScript
import { Link } from 'react-router-dom';
|
|
|
|
import classes from './SectionHeadline.module.css';
|
|
|
|
interface Props {
|
|
title: string;
|
|
link: string;
|
|
}
|
|
|
|
export const SectionHeadline = (props: Props): JSX.Element => {
|
|
return (
|
|
<Link to={props.link}>
|
|
<h2 className={classes.SectionHeadline}>{props.title}</h2>
|
|
</Link>
|
|
);
|
|
};
|