import React from 'react' import { Popup } from 'UI' import MetaItem from '../MetaItem' interface Props { list: any[], maxLength: number, } export default function MetaMoreButton(props: Props) { const { list, maxLength } = props return ( +{list.length - maxLength} More ) } className="p-0" content={
{list.slice(maxLength).map(({ label, value }, index) => ( ))}
} on="click" position="center center" /> ) }