Add some sidebars and license stuff

This commit is contained in:
2023-07-21 11:55:10 +09:00
parent 3397d7096d
commit fdf8c3b173
21 changed files with 3627 additions and 300 deletions

View File

@ -0,0 +1,21 @@
import { FC } from 'react';
import { Button, SidebarHeader } from '@/Components/Utilities';
import { z } from 'zod';
import SidebarProviderBase, { SidebarBasePropsSchema } from './Base';
export type GeneralSidebarProps = z.infer<typeof GeneralSidebarPropsSchema>;
export const GeneralSidebarPropsSchema = z
.object({})
.merge(SidebarBasePropsSchema);
const GeneralSidebar: FC<GeneralSidebarProps> = (props) => {
return (
<SidebarProviderBase onClose={props.onClose}>
<SidebarHeader>General Settings</SidebarHeader>
<Button>Button</Button>
</SidebarProviderBase>
);
};
export default GeneralSidebar;