import type { PolymorphicProps } from '@kobalte/core/polymorphic'; import type { TextFieldTextAreaProps } from '@kobalte/core/text-field'; import type { ValidComponent, VoidProps } from 'solid-js'; import { cn } from '@/modules/ui/utils/cn'; import { TextArea as TextFieldPrimitive } from '@kobalte/core/text-field'; import { splitProps } from 'solid-js'; type textAreaProps = VoidProps< TextFieldTextAreaProps & { class?: string; } >; export function TextArea(props: PolymorphicProps>) { const [local, rest] = splitProps(props as textAreaProps, ['class']); return ( ); }