New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

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).

1.0.26
latest
Source
npm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
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