@ntragas/pouncejstest
Version:
A collection of UI components from Panther labs
13 lines (12 loc) • 586 B
TypeScript
import React from 'react';
import { NativeAttributes } from '../../Box';
import { BoxProps } from '../../Box';
declare type StandaloneInputElementProps = {
/**
* Used in order to declare input element without labels
*/
standalone?: boolean;
};
export declare type InputElementProps = BoxProps & NativeAttributes<'input' | 'textarea'> & StandaloneInputElementProps;
declare const InputElement: React.ForwardRefExoticComponent<Pick<InputElementProps, string | number | symbol> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
export default InputElement;