Help Modal
HelpModal renders contextual help content for an entity page in a dialog. Used to display field descriptions, business rules, or user guides inline.
Import
import { HelpModal } from "@phpcreation/frontend-crud-react-nextjs-bundle/components/HelpModal";Usage
import { HelpModal } from "...";
<HelpModal
open={helpOpen}
onOpenChange={setHelpOpen}
title="Invoice Help"
content={invoiceHelpContent}
/>Props
| Prop | Type | Description |
|---|---|---|
open | boolean | Modal open state |
onOpenChange | (open: boolean) => void | Open state handler |
title | string | Modal title |
content | string | ReactNode | Help content (Markdown or JSX) |
Related
Last updated on