@axeptio/design-system
Version:
Design System for Axeptio
38 lines (35 loc) • 642 B
TypeScript
export default Input;
type types = 'text' | 'email' | 'password' | 'number' | 'number' | 'url';
const typesStatus = 'text' as types;
declare function Input({
autoFocus,
label,
icon,
type,
disabled,
width,
value,
prefix,
unit,
error,
multiline,
header,
optionalText,
...props
}: {
autoFocus?: boolean;
type: typesStatus;
label: string;
icon?: string;
disabled?: boolean;
width?: number;
value?: string;
prefix?: string;
unit?: string;
error?: string;
multiline?: boolean;
header?: string;
optionalText?: string;
onChange: function;
}): JSX.Element;
//# sourceMappingURL=index.d.ts.map