import type { TextField } from "@radix-ui/themes"
import type { ComponentProps, ReactNode } from "react"

type TextFieldRootProps = Omit<
	ComponentProps<typeof TextField.Root>,
	"children"
>

export interface ITextFieldProps extends TextFieldRootProps {
	id: string
	label?: ReactNode
	undertitle?: ReactNode
	error?: boolean
	startIcon?: ReactNode
	endIcon?: ReactNode
}
