Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvdm authored Jun 4, 2024
1 parent 5bb132b commit f63d765
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ npm i formlessly
yarn add formlessly
```

_formlessly_ can be used in both es-module-aware and commonjs bundlers/environments.

```js
// es module
import { int } from 'fictional'
// commonjs
const { int } = require('fictional')
```

## Usage

_formlessly_ makes use of the `fields` object to render the input fields. Each input object must have a type. The input name is derived from the object key. We recommend using this key as the state name for your input field.
Expand Down

0 comments on commit f63d765

Please sign in to comment.