@wordpress/components
Version:
UI components for WordPress.
20 lines • 779 B
TypeScript
/// <reference types="react" />
import type { InputControlPrefixWrapperProps } from './types';
/**
* A convenience wrapper for the `prefix` when you want to apply
* standard padding in accordance with the size variant.
*
* ```jsx
* import {
* __experimentalInputControl as InputControl,
* __experimentalInputControlPrefixWrapper as InputControlPrefixWrapper,
* } from '@wordpress/components';
*
* <InputControl
* prefix={<InputControlPrefixWrapper>@</InputControlPrefixWrapper>}
* />
* ```
*/
export declare const InputControlPrefixWrapper: import("../ui/context").WordPressComponent<"div", InputControlPrefixWrapperProps & import("react").RefAttributes<any>, true>;
export default InputControlPrefixWrapper;
//# sourceMappingURL=input-prefix-wrapper.d.ts.map