UNPKG

582 BJavaScriptView Raw
1"use client";
2
3import * as React from 'react';
4import classNames from 'classnames';
5import { useBootstrapPrefix } from './ThemeProvider';
6import { jsx as _jsx } from "react/jsx-runtime";
7const CardImgOverlay = /*#__PURE__*/React.forwardRef(({
8 className,
9 bsPrefix,
10 as: Component = 'div',
11 ...props
12}, ref) => {
13 bsPrefix = useBootstrapPrefix(bsPrefix, 'card-img-overlay');
14 return /*#__PURE__*/_jsx(Component, {
15 ref: ref,
16 className: classNames(className, bsPrefix),
17 ...props
18 });
19});
20CardImgOverlay.displayName = 'CardImgOverlay';
21export default CardImgOverlay;
\No newline at end of file