Socket
Socket
Sign inDemoInstall

cube-example-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cube-example-wrapper

This package contains common layout and features like user tracking, feedback, and errors logging for Cube's [example applications](https://github.com/cube-js/cube.js/tree/master/examples).


Version published
Maintainers
1
Created
Source

Cube examples wrapper

This package contains common layout and features like user tracking, feedback, and errors logging for Cube's example applications.

Installation

Install package via yarn:

yarn add cube-example-wrapper

Usage

At the entry point of your app, import createExampleWrapper:

import createExampleWrapper from "cube-example-wrapper";

Define an example description object and fill it with your values:

const exampleDescription = {
  title: "demo title",
  text: `demo description text`,
};

Note: you can use HTML tags inside the text template string.

Call createExampleWrapper with passed exampleDescription:

createExampleWrapper(exampleDescription);

FAQs

Package last updated on 04 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc