mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-23 18:56:29 +02:00
12 lines
313 B
JavaScript
12 lines
313 B
JavaScript
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;
|