mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-19 09:41:53 -08:00
26 lines
444 B
TypeScript
26 lines
444 B
TypeScript
import React from 'react';
|
|
|
|
import Layout from '@theme/Layout';
|
|
|
|
export interface PageLayoutProps {
|
|
title: string;
|
|
description: string;
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export const PageLayout = ({
|
|
title,
|
|
description,
|
|
children,
|
|
}: PageLayoutProps): JSX.Element => {
|
|
return (
|
|
<Layout title={title} description={description}>
|
|
{children}
|
|
</Layout>
|
|
);
|
|
};
|
|
|
|
export interface ColorModeProps {
|
|
children: React.ReactNode;
|
|
}
|