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