1.0.26 • Published 2 years ago

cube-example-wrapper v1.0.26

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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);
1.0.26

2 years ago

1.0.25

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago