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.slice(maxLength).map(({ label, value }, index) => ( ))} } on="click" position="center center" >
+{list.length - maxLength} More
) }