mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-08 07:07:15 +02:00
21 lines
418 B
TypeScript
21 lines
418 B
TypeScript
/**
|
|
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
|
|
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
|
|
*/
|
|
|
|
import * as React from 'react';
|
|
|
|
import './heading.css';
|
|
|
|
interface HeadingProps {
|
|
title: string;
|
|
}
|
|
|
|
const Heading: React.FC<HeadingProps> = ({ title }) => {
|
|
return (
|
|
<h3 className="heading">{title}</h3>
|
|
);
|
|
};
|
|
|
|
export default Heading;
|