import React, { useState } from 'react'; import { ClipboardListIcon } from '@heroicons/react/outline'; import { Dialog } from '@/components/elements/dialog'; import { Button } from '@/components/elements/button/index'; export default ({ meta }: { meta: Record }) => { const [ open, setOpen ] = useState(false); return (
setOpen(false)} hideCloseIcon title={'Metadata'} >
                    {JSON.stringify(meta, null, 2)}
                
setOpen(false)}>Close
); };