UNPKG

soda-material

Version:

A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)

20 lines (19 loc) 728 B
/// <reference types="react" /> import './dialog.scss'; /** * @specs https://m3.material.io/components/dialogs/specs */ export declare const Dialog: import("react").ForwardRefExoticComponent<{ open?: boolean | undefined; headline?: React.ReactNode; children?: React.ReactNode; /** * Buttons area */ buttons?: React.ReactNode; /** * If you do not need any pre-defined slots, set noPadding to true and * do not use headline and buttons, as they contains default css style */ noPadding?: boolean | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "open" | "children" | "headline" | "buttons" | "noPadding"> & import("react").RefAttributes<HTMLDivElement>>;