Add some sidebars and license stuff
This commit is contained in:
21
src/Components/Excalidraw/Sidebar/General.tsx
Normal file
21
src/Components/Excalidraw/Sidebar/General.tsx
Normal 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;
|
Reference in New Issue
Block a user