feat(custom-widgets): Full Mantine v9 + SubFetch support for custom JSX (#6304)
This commit is contained in:
1 parent
0a0b3a12c9
commit
3b2fc2527e
181 files changed
+18472
-4364
No files matched your search
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
|
||||
import { Alert, Text } from "@mantine/core";
|
||||
import { IconAlertTriangle } from "@tabler/icons-react";
|
||||
|
||||
import { useCustomWidgetRuntime } from "./context";
|
||||
|
||||
export function MigrationRequiredAlert() {
|
||||
const { messages } = useCustomWidgetRuntime();
|
||||
return (
|
||||
<Alert color="yellow" variant="light" icon={<IconAlertTriangle size={16} />} p="xs">
|
||||
<Text size="xs">{messages.migrationRequired}</Text>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user