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