Files
est-frame/node_modules/react-bootstrap/esm/AlertLink.js
2025-10-22 05:38:27 +00:00

22 lines
598 B
JavaScript
Executable File

"use client";
import * as React from 'react';
import classNames from 'classnames';
import Anchor from '@restart/ui/Anchor';
import { useBootstrapPrefix } from './ThemeProvider';
import { jsx as _jsx } from "react/jsx-runtime";
const AlertLink = /*#__PURE__*/React.forwardRef(({
className,
bsPrefix,
as: Component = Anchor,
...props
}, ref) => {
bsPrefix = useBootstrapPrefix(bsPrefix, 'alert-link');
return /*#__PURE__*/_jsx(Component, {
ref: ref,
className: classNames(className, bsPrefix),
...props
});
});
AlertLink.displayName = 'AlertLink';
export default AlertLink;