Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

299 B
Raw Blame
'use client';
import { DialogTrigger } from '@umami/react-zen';
import type { ReactElement } from 'react';

export function ControlledDialog({ children }: { children: ReactElement }) {
  return (
    <DialogTrigger>
      <button type="button" hidden />
      {children}
    </DialogTrigger>
  );
}