@foris/avocado-suite 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/avocado-suite.es.js +299 -290
- package/dist/avocado-suite.umd.js +23 -23
- package/dist/components/text-field/TextField.d.ts +5 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -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 */
|