@foris/avocado-suite 0.21.0 → 0.22.1-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,12 @@
1
1
  import { DetailedHTMLProps, InputHTMLAttributes, FC } from 'react';
2
+ import type { IconTypes } from '../../../../avocado-icons';
2
3
  export interface TextFieldProps extends DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
3
- /** Overwrite className */
4
- className?: string;
5
4
  /** If allow to remove input content with clear icon */
6
5
  allowClear?: boolean;
6
+ /** Overwrite className */
7
+ className?: string;
8
+ /** Set the icon */
9
+ icon?: IconTypes;
7
10
  /** Set top label */
8
11
  label?: string;
9
12
  /** Set validation status */