UNPKG

@navikt/ds-react

Version:

React components from the Norwegian Labour and Welfare Administration.

19 lines 636 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LocalAlertCloseButton = void 0; const base_alert_1 = require("../../base-alert"); /** * @see 🏷️ {@link LocalAlertCloseButtonProps} * @example * ```jsx * <LocalAlert> * <LocalAlert.Header> * <LocalAlert.Title>Info title</LocalAlert.Title> * <LocalAlert.CloseButton onClick={() => alert("Closed!")} /> * </LocalAlert.Header> * </LocalAlert> * ``` */ const LocalAlertCloseButton = base_alert_1.BaseAlert.CloseButton; exports.LocalAlertCloseButton = LocalAlertCloseButton; //# sourceMappingURL=LocalAlertCloseButton.js.map