import React, { forwardRef } from 'react'; import { type Trigger } from '@radix-ui/react-select'; import { HelperText } from '../helper-text'; import { Label } from '../label'; import { Select, type SelectProps } from '../select'; export interface SelectFieldProps extends SelectProps { label?: string; helperText?: string; } const SelectField = forwardRef, SelectFieldProps>( ({ label, helperText, variant, ...props }, ref) => { return (
{label && }