import { ThemeSize } from "../../theme/types.js"; import { TextareaResize } from "../../styles/textarea.js"; import { TextareaCompactEmits, TextareaCompactProps, TextareaCompactSlots, TextareaUi } from "@soybeanjs/headless/textarea"; import { ClassValue } from "@soybeanjs/headless/types"; //#region src/components/textarea/types.d.ts /** * Properties for the Textarea component. */ interface TextareaProps extends TextareaCompactProps { /** * Additional class names applied to the root element. */ class?: ClassValue; /** * Visual size of the component. */ size?: ThemeSize; /** * Per-slot class overrides for the component. */ ui?: Partial; /** * The resize of the textarea * * if autosize is true, the resize will be ignored */ resize?: TextareaResize; } /** * Events for the Textarea component. */ type TextareaEmits = TextareaCompactEmits; /** * Slots for the Textarea component. */ type TextareaSlots = TextareaCompactSlots; //#endregion export { TextareaEmits, TextareaProps, TextareaSlots };