stye : add global

Deskripsi:
- layout drawer
- navbar group

No issue
This commit is contained in:
lukman
2024-07-08 17:31:32 +08:00
parent 4acac52a0c
commit 5bfd637aa8
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import { WARNA } from '../fun/WARNA';
export default function LayoutDrawer({ opened, onClose, title, children, size }: { children: React.ReactNode, opened: boolean, size?: string, onClose: () => void, title: React.ReactNode }) {
return (
<Box>
<Drawer opened={opened} title={<Text c={WARNA.biruTua} fw={'bold'}>{title}</Text>} onClose={onClose} position={"bottom"} size={(size == 'lg') ? '80%' : '30%'}
<Drawer opened={opened} title={<Text c={WARNA.biruTua} fw={'bold'}>{title}</Text>} onClose={onClose} position={"bottom"} size={(size == 'lg') ? '80%' : '35%'}
styles={{
content: {
backgroundColor: "white",