mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
fix field date error in modal, adjust notification spacing, added entity quick switcher
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Button, Modal, Switch, Tooltip, useMantineColorScheme } from "@mantine/core";
|
||||
import { useColorScheme, useDisclosure } from "@mantine/hooks";
|
||||
import { notifications } from "@mantine/notifications";
|
||||
import { Button as AppButton } from "../../../components/buttons/Button";
|
||||
|
||||
export default function MantineTest() {
|
||||
@@ -10,6 +11,19 @@ export default function MantineTest() {
|
||||
<Button color="blue">Mantine</Button>
|
||||
<AppButton>Button</AppButton>
|
||||
<AppButton variant="primary">Button</AppButton>
|
||||
|
||||
<Button
|
||||
onClick={() => {
|
||||
notifications.show({
|
||||
title: "Notification",
|
||||
message: "This is a notification",
|
||||
autoClose: false,
|
||||
color: "blue",
|
||||
});
|
||||
}}
|
||||
>
|
||||
Notification
|
||||
</Button>
|
||||
</div>
|
||||
<MantineModal />
|
||||
<MantineTooltip />
|
||||
|
||||
Reference in New Issue
Block a user