@vchasno/ui-kit 0.3.26 → 0.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Datepicker/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/Menu/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/ProjectsPopover/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/Select/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/SelectCreatable/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/Snackbar/index.cjs.js +1 -1
- package/dist/Snackbar/index.cjs.js.map +1 -1
- package/dist/Snackbar/index.js +1 -1
- package/dist/Snackbar/index.js.map +1 -1
- package/dist/Snackbar/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/components/TextAreaInput/TextAreaInput.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { InputHTMLAttributes } from 'react';
|
|
2
2
|
import { InputProps } from '../Input';
|
|
3
|
-
import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize';
|
|
4
3
|
import './TextAreaInput.global.css';
|
|
5
|
-
export interface TextAreaInputProps extends
|
|
4
|
+
export interface TextAreaInputProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'>, Omit<InputProps, 'children'> {
|
|
6
5
|
textareaClassName?: string;
|
|
7
6
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
8
|
-
|
|
7
|
+
minRows?: number;
|
|
8
|
+
maxRows?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const TextAreaInput: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const TextAreaInput: React.ForwardRefExoticComponent<TextAreaInputProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
11
|
export default TextAreaInput;
|