Skip to content

Commit

Permalink
docs(readme): update API copy, remove is-plain-object
Browse files Browse the repository at this point in the history
  • Loading branch information
ungoldman committed Feb 21, 2018
1 parent 129ee34 commit aba351b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,9 @@ function store (state, emitter) {
hyperaxe(tag)([props], [...children])
```

- `props` (object) - HTML attributes
- `children` (node, string, number, array) - child nodes or primitives (string, number)

Both arguments are optional.
- `tag` (string) - valid HTML tag name
- `props` (object) - HTML attributes (optional)
- `children` (node, string, number, array) - child nodes or primitives (string, number) (optional)

The returned function is [variadic](https://en.wikipedia.org/wiki/Variadic_function), so any number of children are accepted.

Expand Down Expand Up @@ -190,7 +189,6 @@ p('this is convenient')

- [html-tags](https://ghub.io/html-tags): List of standard HTML tags.
- [hyperscript](https://ghub.io/hyperscript): Create HyperText with JavaScript, on client or server.
- [is-plain-object](https://ghub.io/is-plain-object): Returns true if an object was created by the `Object` constructor.

## Dev Dependencies

Expand Down

0 comments on commit aba351b

Please sign in to comment.