1 2 3 4 5 6 7 8 9 10 11 12 13 14
interface DividerProps { text: string; } const Divider = (props: DividerProps) => { return ( <div className="flex flex-row items-center justify-center bg-black h-24 max-w-full px-72"> <div className="px-2 text-white text-4xl font-extrabold"> {props.text} </div> </div> ); }; export default Divider;
[PATCH repo_name]