UNPKG

@keen.io/ui-core

Version:

Keen visual components library

18 lines (17 loc) 647 B
import React from 'react'; import { InputVariant } from './types'; export declare type Props = { hasError?: boolean; variant?: InputVariant; borderRadius?: string; renderPrefix?: () => JSX.Element; renderSuffix?: () => JSX.Element; } & React.InputHTMLAttributes<HTMLInputElement>; export declare const Input: React.ForwardRefExoticComponent<{ hasError?: boolean; variant?: InputVariant; borderRadius?: string; renderPrefix?: () => JSX.Element; renderSuffix?: () => JSX.Element; } & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>; export default Input;