📄 CarouselCaption.js
/home/palash/git/site/node_modules/react-bootstrap/esm/CarouselCaption.js
Language: js • Lines: 21
"use client";

import * as React from 'react';
import classNames from 'classnames';
import { useBootstrapPrefix } from './ThemeProvider';
import { jsx as _jsx } from "react/jsx-runtime";
const CarouselCaption = /*#__PURE__*/React.forwardRef(({
  className,
  bsPrefix,
  as: Component = 'div',
  ...props
}, ref) => {
  bsPrefix = useBootstrapPrefix(bsPrefix, 'carousel-caption');
  return /*#__PURE__*/_jsx(Component, {
    ref: ref,
    className: classNames(className, bsPrefix),
    ...props
  });
});
CarouselCaption.displayName = 'CarouselCaption';
export default CarouselCaption;