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