mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
14 lines
450 B
JavaScript
14 lines
450 B
JavaScript
"use client";
|
|
import { useAlertDialogContext } from "./context.js";
|
|
import { createContextPart } from "../create-context-part.js";
|
|
//#region src/ui/alert-dialog/alert-dialog-title.tsx
|
|
const AlertDialogTitle = createContextPart({
|
|
displayName: "AlertDialogTitle",
|
|
tag: "h2",
|
|
useContext: useAlertDialogContext,
|
|
getProps: (state) => ({ id: state.titleId })
|
|
});
|
|
//#endregion
|
|
export { AlertDialogTitle };
|
|
|
|
//# sourceMappingURL=alert-dialog-title.js.map
|