import { Select } from "antd"; import { ProSelectProps } from "./types"; const { Option } = Select; /* * use this component in modals instead of ProSelector * , because overriding "getPopupContainer" to solve the scrolling problem causes the selector to go above the select input * */ const ProInModalSelect = ({ optionList, valueField = "id", displayField = "name", fixedPosition, spreadOptionProps, ...rest }: ProSelectProps) => ( ); export default ProInModalSelect;