@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
18 lines (17 loc) • 644 B
TypeScript
import { BaseAlert } from "../../base-alert";
type LocalAlertCloseButtonProps = BaseAlert.CloseButtonProps;
/**
* @see 🏷️ {@link LocalAlertCloseButtonProps}
* @example
* ```jsx
* <LocalAlert>
* <LocalAlert.Header>
* <LocalAlert.Title>Info title</LocalAlert.Title>
* <LocalAlert.CloseButton onClick={() => alert("Closed!")} />
* </LocalAlert.Header>
* </LocalAlert>
* ```
*/
declare const LocalAlertCloseButton: import("react").ForwardRefExoticComponent<BaseAlert.CloseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
export { LocalAlertCloseButton };
export type { LocalAlertCloseButtonProps };