1.1.10 • Published 2 years ago

@cube-dev/example-wrapper v1.1.10

Weekly downloads
-
License
MIT
Repository
-
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-dev/example-wrapper

Usage

At the entry point of your app, import createExampleWrapper helper:

import createExampleWrapper from "@cube-dev/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 helper and pass exampleDescription into it:

createExampleWrapper(exampleDescription);
1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago