import { useRef } from 'react'

export const MODAL_ROOT_ID = 'modal-root'

export const useModalRoot = () => useRef(document.getElementById(MODAL_ROOT_ID))
