import React, { ChangeEvent } from 'react'; import { makeStyles } from 'tss-react/mui'; import { isMobileBrowser } from '../../../environment/utils'; import Icon from '../../../icons/components/Icon'; import { IconArrowDown } from '../../../icons/svg'; import { withPixelLineHeight } from '../../../styles/functions.web'; interface ISelectProps { /** * Helper text to be displayed below the select. */ bottomLabel?: string; /** * Class name for additional styles. */ className?: string; /** * Wether or not the select is disabled. */ disabled?: boolean; /** * Wether or not the select is in the error state. */ error?: boolean; /** * Id of the {options.map(option => ())} {bottomLabel && ( {bottomLabel} )} ); }; export default Select;