1 | import * as React from 'react';
|
2 | import Button from './Button';
|
3 | import usePlaceholder from './usePlaceholder';
|
4 | import { jsx as _jsx } from "react/jsx-runtime";
|
5 | const PlaceholderButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
6 | const placeholderProps = usePlaceholder(props);
|
7 | return /*#__PURE__*/_jsx(Button, {
|
8 | ...placeholderProps,
|
9 | ref: ref,
|
10 | disabled: true,
|
11 | tabIndex: -1
|
12 | });
|
13 | });
|
14 | PlaceholderButton.displayName = 'PlaceholderButton';
|
15 | export default PlaceholderButton; |
\ | No newline at end of file |