UNPKG

soda-material

Version:

A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)

20 lines (19 loc) 735 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>, "as" | "ref" | "open" | "children" | "buttons" | "headline" | "noPadding"> & import("react").RefAttributes<HTMLDivElement>>;