Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Variable HelpDialogConst

    HelpDialog: {
        Popup: (props: HelpDialogPopupProps) => Element;
        TriggerChrome: (
            props: Dialog.Trigger.Props<unknown> & Required<
                Pick<Dialog.Trigger.Props<unknown>, "aria-label">,
            >,
        ) => Element;
    } = ...

    The parts a dialog of instructions adds to Base UI's: TriggerChrome, the "?" floating beside a settings cog, and Popup, the title and close button fixed above the scrolling help. The rest are the styled parts: Dialog.Root, Dialog.Trigger for a trigger with a text of the caller's, and MarkdownContent for help kept in a Markdown file, its values filled into its placeholders.

    Type Declaration

    <Dialog.Root>
    <HelpDialog.TriggerChrome aria-label='Layout help' />
    <HelpDialog.Popup title='Layout help' closeLabel='Close Layout help'>
    <MarkdownContent>{layoutHelp}</MarkdownContent>
    </HelpDialog.Popup>
    </Dialog.Root>