import React from 'react'; import styles from './styles.less'; import Tag from '../tag'; import { SearchProps } from '../detailInterface'; export const ApolloInputSearchDetail = (props: SearchProps) => { const { value, componentAttr } = props; if (!value) return null; const { isMultiple } = componentAttr || {}; const selfAttr: any = isMultiple ? { maxTagCount: 2 } : { maxTagCount: 1 }; if (typeof value === 'object') { return (