14 lines
355 B
TypeScript
14 lines
355 B
TypeScript
import React from 'react';
|
|
|
|
const MockupContainer: React.FC<{ title: string; children: React.ReactNode }> = ({
|
|
title,
|
|
children,
|
|
}) => (
|
|
<div className="flex flex-col items-center flex-shrink-0 w-[300px]">
|
|
{children}
|
|
<h3 className="text-base font-bold text-gray-700 mt-3 text-center">{title}</h3>
|
|
</div>
|
|
);
|
|
|
|
export default MockupContainer;
|