Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
travist authored Dec 8, 2022
1 parent 5f9aea3 commit a6509cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This library is the core rendering engine behind the Form.io platform. It is a t
### Usage
To use this library, you will first need to install it into your own application.

npm install --save @formio/base
npm install --save @formio/core

Next, you can create a new component as follows.

```js
import { Components } from '@formio/base';
import { Components } from '@formio/core';
Components.addComponent({
type: 'h3',
template: (ctx) => `<h3>${ctx.component.header}</h3>`
Expand Down Expand Up @@ -59,4 +59,4 @@ FormioCore.render(document.getElementById('data-table'), {
});
```

See https://formio.github.io/core for more examples of how to use this library.
See https://formio.github.io/core for more examples of how to use this library.

0 comments on commit a6509cf

Please sign in to comment.