12 lines
256 B
TypeScript
12 lines
256 B
TypeScript
|
|
interface Props {
|
||
|
|
children: React.ReactNode
|
||
|
|
className?: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export const Layout = ({ children, className }: Props) => {
|
||
|
|
return (
|
||
|
|
<div className={`mx-[5%] items-center ${className}`}>
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
};
|