Skip to content

Beautiful Open-Source Form Builder

172 B
Raw Blame
export const useIsIframe = () => {
  if (import.meta.client) {
    return window.location !== window.parent.location || (window.frameElement !== null)
  }
  return false
}