* feat: add widget definition system * fix: wrong typecheck command in turbo generator * chore: fix formatting * feat: add widget preview page * chore: fix formatting and type errors * chore: fix from widget edit modal and remove some never casts * chore: address pull request feedback
10 lines
233 B
TypeScript
10 lines
233 B
TypeScript
"use client";
|
|
|
|
import { createModalManager } from "mantine-modal-manager";
|
|
|
|
import { WidgetEditModal } from "@homarr/widgets";
|
|
|
|
export const [ModalsManager, modalEvents] = createModalManager({
|
|
widgetEditModal: WidgetEditModal,
|
|
});
|