mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
17 lines
431 B
JavaScript
17 lines
431 B
JavaScript
import React from 'react';
|
|
|
|
const SectionTitle = ({ title }) => {
|
|
return (
|
|
<div className="relative mb-4">
|
|
<div className="absolute inset-0 flex items-center">
|
|
<div className="w-full border-t border-gray-300"></div>
|
|
</div>
|
|
<div className="relative flex justify-center">
|
|
<div className="px-4 bg-white text-gray-500">{title}</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default SectionTitle;
|