mostly finished rewrite

This commit is contained in:
Violet
2024-12-18 12:31:06 -07:00
parent bab7a0ca27
commit d28c65e66b
2906 changed files with 227775 additions and 105 deletions
+18
View File
@@ -0,0 +1,18 @@
import * as React from 'react';
import usePlaceholder from './usePlaceholder';
import PlaceholderButton from './PlaceholderButton';
import { jsx as _jsx } from "react/jsx-runtime";
const Placeholder = /*#__PURE__*/React.forwardRef(({
as: Component = 'span',
...props
}, ref) => {
const placeholderProps = usePlaceholder(props);
return /*#__PURE__*/_jsx(Component, {
...placeholderProps,
ref: ref
});
});
Placeholder.displayName = 'Placeholder';
export default Object.assign(Placeholder, {
Button: PlaceholderButton
});