11 lines
250 B
TypeScript
11 lines
250 B
TypeScript
import { ReactNode, FunctionComponent } from 'react';
|
|
|
|
type Props = {
|
|
children?: ReactNode;
|
|
};
|
|
|
|
const Layout: FunctionComponent = ({ children }: Props) => (
|
|
<div className="lg:px-32 md:px-16 px-4 py-4">{children}</div>
|
|
);
|
|
|
|
export default Layout;
|