import { forwardRef } from 'react'; import { SelectProps } from './Select.type'; import { StyledSelect, StyledSelectContainer, StyledSelectOuterContainer, StyledSuffix, } from './Select.style'; import { StyledInputLabel } from '../Input/Input.style'; import { Error } from '../..'; import { CaretDown } from '@phosphor-icons/react'; export const Select = forwardRef((props, ref) => { const { label, error, size = 'regular', variant = 'primary', disabled = false, width = '100%', placeholder, suffix = , ...rest } = props; return ( {label && {label}} {suffix && {suffix}} {error && {error}} ); });