import { j as jsxRuntimeExports } from '../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
import { cva, cx } from '../node_modules/.pnpm/class-variance-authority@0.6.0_typescript@5.4.3/node_modules/class-variance-authority/dist/index.js';
import { forwardRef } from 'react';
import StateManagedSelect$1 from '../node_modules/.pnpm/react-select@5.7.7_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/react-select/dist/react-select.esm.js';
import styles from './rselect.module.css.js';

const select = cva(styles.select);
const classNames = {
    control: () => cx(styles.control),
    option: () => cx(styles.option),
    input: () => cx(styles.input, {
        isSelected: () => cx(styles.isSelected),
    }),
    placeholder: () => cx(styles.placeholder),
    singleValue: () => cx(styles.singleValue),
    indicatorsContainer: () => cx(styles.indicatorsContainer),
};
const RSelect = forwardRef(({ className, ...props }, ref) => {
    return (jsxRuntimeExports.jsx(StateManagedSelect$1, { className: select({ className }), ref: ref, ...props, classNames: classNames, components: {
            IndicatorSeparator: () => null,
            IndicatorsContainer: () => null,
        } }));
});

export { RSelect, RSelect as default };
//# sourceMappingURL=rselect.js.map
