1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 02:36:11 +02:00
Files
csslayout/client/components/Heading.tsx
2019-11-24 23:09:38 +07:00

12 lines
313 B
TypeScript

import React from 'react';
const Heading = ({ title }) => {
return (
<div className="bt b--black-20 relative">
<h3 className="absolute bg-white f4 left-2 lh-copy ma0 ph2 top-0 ttu" style={{ transform: 'translate(0, -50%)' }}>{title}</h3>
</div>
);
};
export default Heading;