Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
v0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed May 12, 2021
1 parent 168dec5 commit 643f125
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
23 changes: 6 additions & 17 deletions docs/Inroduction.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,15 @@ Visual components for the Frictionless Data project in TypeScript/React.
- Open Source (MIT)
- Reusable React Components

## Usage
## Example

You can install and import the library using NPM:

```bash
$ npm install frictionless-components
```
```javascript
import frictionlessComponents from 'frictionless-components'
```

Or link it (see [options](https://unpkg.com/frictionless-components)) directly via CDN in the browser:
// [ NPM ]
// $ npm install frictionless-components
// import frictionlessComponents from 'frictionless-components'
// [ CDN ]
// <script src="//unpkg.com/frictionless-components@0.1.6/dist/frictionless-components.js"></script>

```html
<script src="//unpkg.com/frictionless-components@0.1.6/dist/frictionless-components.js"></script>
```

Once it's imported or linked:

```javascript
const element = document.getElementById('app')
frictionlessComponents.render(frictionlessComponents.Report, {report}, element)
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frictionless-components",
"version": "0.1.7",
"version": "0.1.8",
"license": "MIT",
"author": "roll <eskarev@gmail.com>",
"description": "Visual components for frictionless",
Expand Down

0 comments on commit 643f125

Please sign in to comment.