@wordpress/components
Version:
UI components for WordPress.
12 lines • 944 B
TypeScript
/**
* External dependencies
*/
import type { ForwardedRef } from 'react';
import type { InputBaseProps } from './types';
import { WordPressComponentProps } from '../ui/context';
export declare function InputBase({ __next36pxDefaultSize, __unstableInputWidth, children, className, disabled, hideLabelFromVision, labelPosition, id: idProp, isFocused, label, prefix, size, suffix, ...props }: WordPressComponentProps<InputBaseProps, 'div'>, ref: ForwardedRef<HTMLDivElement>): JSX.Element;
declare const _default: import("react").ForwardRefExoticComponent<InputBaseProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>>, "as" | keyof InputBaseProps> & {
as?: keyof JSX.IntrinsicElements | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
export default _default;
//# sourceMappingURL=input-base.d.ts.map