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 ButtonToolbar = React.forwardRef(({
|
8 | bsPrefix,
|
9 | className,
|
10 | role = 'toolbar',
|
11 | ...props
|
12 | }, ref) => {
|
13 | const prefix = useBootstrapPrefix(bsPrefix, 'btn-toolbar');
|
14 | return _jsx("div", {
|
15 | ...props,
|
16 | ref: ref,
|
17 | className: classNames(className, prefix),
|
18 | role: role
|
19 | });
|
20 | });
|
21 | ButtonToolbar.displayName = 'ButtonToolbar';
|
22 | export default ButtonToolbar; |
\ | No newline at end of file |