import clsx from 'clsx'; // import font face import React from 'react'; import '../../assets/DynamicsFont/DynamicsFont.scss'; import styles from './styles.scss'; type SelectProps = { className?: string; value?: string; onChange?: (...args: any[]) => any; disabled?: boolean; options: any[]; paddingLeft?: number; valueFunction?: (...args: any[]) => any; renderFunction?: (...args: any[]) => any; }; const Select: React.FC = ({ className, value, onChange, disabled, options, valueFunction, renderFunction, paddingLeft, }) => { return (
); }; Select.defaultProps = { className: undefined, value: undefined, onChange: undefined, disabled: false, paddingLeft: 10, valueFunction: (option) => option, renderFunction: (option) => option, }; export default Select;