mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-02-28 20:56:42 +00:00
13 lines
360 B
TypeScript
13 lines
360 B
TypeScript
import { clsx } from 'clsx';
|
|
import type { FC, PropsWithChildren } from 'react';
|
|
|
|
export type NoMenuLayoutProps = PropsWithChildren & {
|
|
className?: string;
|
|
};
|
|
|
|
export const NoMenuLayout: FC<NoMenuLayoutProps> = ({ children, className }) => (
|
|
<div className={clsx('container mx-auto p-5 pt-8 max-md:p-3 max-md:py-4', className)}>
|
|
{children}
|
|
</div>
|
|
);
|