diff --git a/src/components/TextFieldCanary/__stand__/TextField.variants.tsx b/src/components/TextFieldCanary/__stand__/TextField.variants.tsx index ec5810590..dc71e702a 100644 --- a/src/components/TextFieldCanary/__stand__/TextField.variants.tsx +++ b/src/components/TextFieldCanary/__stand__/TextField.variants.tsx @@ -2,7 +2,6 @@ import { IconPhoto } from '@consta/icons/IconPhoto'; import { useBoolean, useNumber, useSelect, useText } from '@consta/stand'; import React from 'react'; -import { FieldWrapper } from '##/components/FieldComponents'; import { fieldPropForm, fieldPropFormDefault, @@ -98,41 +97,29 @@ const Variants = () => { const rightSide = rightSideType && rightSideSelect[rightSideType]; return ( - - - + leftSide={leftSide} + rightSide={rightSide} + maxLength={maxLength} + withClearButton={withClearButton} + placeholder={placeholder} + type={type} + incrementButtons={type === 'number' ? incrementButtons : undefined} + min={type === 'number' ? min : undefined} + max={type === 'number' ? max : undefined} + step={getStep(type, withStepArray, step)} + resize={type === 'textarea' ? resizeMap[resize] : undefined} + maxRows={type === 'textarea' && resize === 'auto' ? maxRows : undefined} + minRows={type === 'textarea' && resize === 'auto' ? minRows : undefined} + rows={type === 'textarea' && resize !== 'auto' ? rows : undefined} + /> ); };