1 | "use client";
|
2 |
|
3 | import * as React from 'react';
|
4 | import classNames from 'classnames';
|
5 | import Anchor from '@restart/ui/Anchor';
|
6 | import { useBootstrapPrefix } from './ThemeProvider';
|
7 | import { jsx as _jsx } from "react/jsx-runtime";
|
8 | const AlertLink = React.forwardRef(({
|
9 | className,
|
10 | bsPrefix,
|
11 | as: Component = Anchor,
|
12 | ...props
|
13 | }, ref) => {
|
14 | bsPrefix = useBootstrapPrefix(bsPrefix, 'alert-link');
|
15 | return _jsx(Component, {
|
16 | ref: ref,
|
17 | className: classNames(className, bsPrefix),
|
18 | ...props
|
19 | });
|
20 | });
|
21 | AlertLink.displayName = 'AlertLink';
|
22 | export default AlertLink; |
\ | No newline at end of file |