UNPKG

@gear-js/vara-ui

Version:

React UI components used across Vara applications

11 lines (10 loc) 527 B
import { FunctionComponent, SVGProps, ComponentPropsWithRef } from 'react'; import { LabelContainerProps } from '../label-container'; type Props = Omit<ComponentPropsWithRef<'input'>, 'id' | 'size'> & LabelContainerProps & { icon?: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string | undefined; }>; }; declare const Input: ({ icon: Icon, className, label, error, type, size, block, ...attrs }: Props) => import("react/jsx-runtime").JSX.Element; export { Input }; export type { Props as InputProps };