Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

337 B
Raw Blame
import type { PresetKey } from '@/core/blur/patterns';
import { mountInPage } from '@/page-ui/mount-in-page';
import { BlurPanel } from './BlurPanel';

export function mountBlurPanel(presets: Record<PresetKey, boolean>): () => void {
  const page = mountInPage();
  page.render(<BlurPanel initial={presets} />);
  return page.unmount;
}