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 DivStyledAsH5 = divWithClassName('h5');
|
9 | const CardTitle = React.forwardRef(({
|
10 | className,
|
11 | bsPrefix,
|
12 | as: Component = DivStyledAsH5,
|
13 | ...props
|
14 | }, ref) => {
|
15 | bsPrefix = useBootstrapPrefix(bsPrefix, 'card-title');
|
16 | return _jsx(Component, {
|
17 | ref: ref,
|
18 | className: classNames(className, bsPrefix),
|
19 | ...props
|
20 | });
|
21 | });
|
22 | CardTitle.displayName = 'CardTitle';
|
23 | export default CardTitle; |
\ | No newline at end of file |