UNPKG

@sertec/dialog

Version:
11 lines (10 loc) 888 B
import { ReactNode } from 'react'; export declare const DIALOG_ICON = "DialogIcon"; export declare const DIALOG_HEADER = "DialogHeader"; export declare const DIALOG_DESCRIPTION = "DialogDescription"; export declare const DIALOG_FORM = "DialogForm"; export declare const DIALOG_FOOTER = "DialogFooter"; export declare const DIALOG_BODY = "DialogBody"; export declare const DIALOG_NOTE = "DialogNote"; export declare const ORDER: string[]; export declare function sortDialogChildren(children: ReactNode): (string | number | bigint | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined>)[];