Preview documents and diagrams in your Flows app.
Integrates document, image, and text previews into a Flows app.
When to use it
Use whenever integrating CogniteFileViewer into a Flows app to preview CDF files.
Give it a Flows app and a file-preview integration request; it adds the viewer source, installs dependencies, and configures component usage.
What you provide
Assumes react is already installed in the Flows app.
Assumes @cognite/sdk is already installed in the Flows app.
Uses the existing useDune hook from @cognite/dune to obtain the SDK client.
This skill
react-pdf
Installs react-pdf