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

Commit

Permalink
v0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed May 12, 2021
1 parent 121ff3b commit deb81ff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
24 changes: 19 additions & 5 deletions docs/Inroduction.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,28 @@ Visual components for the Frictionless Data project in TypeScript/React.
- Open Source (MIT)
- Reusable React Components

## Example
## Usage

```typescript
// npm install frictionless-components
import frictionless from 'frictionless-components'
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:

```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')
frictionless.render(frictionless.Report, {report}, element)
frictionlessComponents.render(frictionlessComponents.Report, {report}, element)
```

## Documentation
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.6",
"version": "0.1.7",
"license": "MIT",
"author": "roll <eskarev@gmail.com>",
"description": "Visual components for frictionless",
Expand Down

0 comments on commit deb81ff

Please sign in to comment.