import React from 'react' import { FilterRightHelperType } from '../../types/searchSelect' import { Tag } from 'antd' type ComponentProps = { type: FilterRightHelperType onClick?: () => any } const FilterRightHelper: React.FC = ({ type, onClick }) => { if (type === 'SINGLE_TIP') return ( 单选 ) if (type === 'MULTIPLE_TIP') return ( 多选 ) if (type === 'SUBMIT_BTN') return ( 提交 ) if (type === 'SUBMIT_BAN') return ( 提交 ) return null } export default FilterRightHelper