v3/packages/design-system/templates/help-page/HelpPage.tsx

13 lines
460 B
TypeScript

import { HelpPageBase } from '@roleypoly/design-system/molecules/help-page-base';
import { AppShell, AppShellProps } from '@roleypoly/design-system/organisms/app-shell';
import * as React from 'react';
export type HelpPageProps = AppShellProps & {
children: React.ReactNode;
};
export const HelpPageTemplate = ({ children, ...appShellProps }: HelpPageProps) => (
<AppShell {...appShellProps}>
<HelpPageBase>{children}</HelpPageBase>
</AppShell>
);