Files
est-frame/node_modules/react-bootstrap/esm/PlaceholderButton.js
2025-10-22 05:38:27 +00:00

15 lines
492 B
JavaScript
Executable File

import * as React from 'react';
import Button from './Button';
import usePlaceholder from './usePlaceholder';
import { jsx as _jsx } from "react/jsx-runtime";
const PlaceholderButton = /*#__PURE__*/React.forwardRef((props, ref) => {
const placeholderProps = usePlaceholder(props);
return /*#__PURE__*/_jsx(Button, {
...placeholderProps,
ref: ref,
disabled: true,
tabIndex: -1
});
});
PlaceholderButton.displayName = 'PlaceholderButton';
export default PlaceholderButton;