11 lines
285 B
TypeScript
11 lines
285 B
TypeScript
import type { ReactNode } from 'react';
|
|
|
|
export interface ContainerProps {
|
|
children?: ReactNode;
|
|
}
|
|
|
|
/** Centres content to the page width and holds the page margins. */
|
|
export function Container({ children }: ContainerProps) {
|
|
return <div className="container">{children}</div>;
|
|
}
|