Skip to content

[Bug] Anticapture doesn't work with Nextjs 16 #1

Description

@TKhawns
  • Environment:
    - NextJS 16.0.7
    - React: 19.2.0
  • Error logs:
    - import { AntiCapture } from "react-anticapture";
    - "Module '"react-anticapture"' has no exported member 'AntiCapture'. Did you mean to use 'import AntiCapture from "react-anticapture"' instead?ts(2614)"

I have tried to use import AntiCapture from "react-anticapture"; instead but seem like it works wrong. All confidential content is shown in screen, don't have blur effect like the gif demo in package document.

I'm looking for help to fix this issue. Thank you very much.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions