UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

18 lines 675 B
import * as React from 'react'; import type { BaseUIComponentProps, NativeButtonProps } from "../../utils/types.js"; /** * A button that closes the alert dialog. * Renders a `<button>` element. * * Documentation: [Base UI Alert Dialog](https://base-ui.com/react/components/alert-dialog) */ export declare const AlertDialogClose: React.ForwardRefExoticComponent<AlertDialogClose.Props & React.RefAttributes<HTMLButtonElement>>; export declare namespace AlertDialogClose { interface Props extends NativeButtonProps, BaseUIComponentProps<'button', State> {} interface State { /** * Whether the button is currently disabled. */ disabled: boolean; } }