UNPKG

@wordpress/components

Version:
27 lines (23 loc) 575 B
import { createElement } from "@wordpress/element"; /** * WordPress dependencies */ import { memo } from '@wordpress/element'; /** * Internal dependencies */ import { BackdropUI } from './styles/input-control-styles'; function Backdrop({ disabled = false, isFocused = false }) { return createElement(BackdropUI, { "aria-hidden": "true", className: "components-input-control__backdrop", disabled: disabled, isFocused: isFocused }); } const MemoizedBackdrop = memo(Backdrop); export default MemoizedBackdrop; //# sourceMappingURL=backdrop.js.map