@gravity-ui/uikit
Version:
Gravity UI base styling and components
10 lines (9 loc) • 383 B
JavaScript
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { Button } from "../Button/index.js";
import { useAlertContext } from "./useAlertContext.js";
export const AlertAction = (props) => {
const { view } = useAlertContext();
return _jsx(Button, { view: view === 'filled' ? 'normal-contrast' : undefined, ...props });
};
//# sourceMappingURL=AlertAction.js.map