import React, { useState } from 'react'
import { DocumateDialog as Dialog } from './dialog'
import styles from './index.module.scss'
import type { PropsWithIsland } from 'shared/types'
export const Documate: React.FC<{ endpoint: string } & PropsWithIsland> = (
props
) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { endpoint, __island, ...rest } = props
const [isOpen, setOpen] = useState(false)
return (
<>