import { cnb } from "cnbuilder"; import { type CSSProperties, type HTMLAttributes, type ReactElement, type Ref, type TextareaHTMLAttributes, } from "react"; import { textArea } from "./textAreaStyles.js"; /** * @since 6.0.0 * @internal */ export interface ResizingTextAreaWrapperProps extends HTMLAttributes { ref?: Ref; maskId: string; maskRef: Ref; defaultValue?: TextareaHTMLAttributes["defaultValue"]; rows: number; areaStyle?: CSSProperties; areaClassName?: string; disableTransition?: boolean; } /** * @since 6.0.0 * @internal */ export const ResizingTextAreaWrapper = function ResizingTextAreaWrapper( props: ResizingTextAreaWrapperProps ): ReactElement { const { ref, className, rows, maskId, maskRef, areaStyle, areaClassName, defaultValue, disableTransition, children, ...remaining } = props; return (
{children}