import { Intergalactic } from 'intergalactic/utils/lib/core'; import { BoxProps } from 'intergalactic/flex-box'; import Button from 'intergalactic/button'; import { InputFieldProps } from './components/InputField/InputField'; import { CounterProps } from './components/Counter'; import { ErrorsNavigationProps } from './components/ErrorsNavigation'; export type BulkTextareaProps = { value?: InputFieldProps['value']; onChange?: InputFieldProps['onBlur']; placeholder?: InputFieldProps['placeholder']; size?: InputFieldProps['size']; state?: InputFieldProps['state']; disabled?: InputFieldProps['disabled']; readonly?: InputFieldProps['readonly']; minRows?: InputFieldProps['minRows']; maxRows?: InputFieldProps['maxRows']; validateOn?: InputFieldProps['validateOn']; lineValidation?: InputFieldProps['lineValidation']; linesDelimiters?: InputFieldProps['linesDelimiters']; pasteProps?: InputFieldProps['pasteProps']; maxLines?: InputFieldProps['maxLines']; lineProcessing?: InputFieldProps['lineProcessing']; errors?: InputFieldProps['errors']; showErrors?: boolean; onErrorsChange?: InputFieldProps['onErrorsChange']; onShowErrorsChange?: InputFieldProps['onShowErrorsChange']; }; type BulkTextareaComponent = ((props: Intergalactic.InternalTypings.ComponentProps<'div', 'div', BoxProps & BulkTextareaProps>) => Intergalactic.InternalTypings.ComponentRenderingResults) & Intergalactic.InternalTypings.ComponentAdditive<'div', 'div', {}>; export type BulkTextareaType = BulkTextareaComponent & { InputField: Intergalactic.Component<'div', Pick, 'commonErrorMessage' | 'id'> & Partial> & BoxProps>; Counter: Intergalactic.Component<'div', Partial>; ClearAll: typeof Button; ErrorsNavigation: Intergalactic.Component<'div', Partial>; }; export {};