Commit b5118f02 authored by Vadym Gidulian's avatar Vadym Gidulian

Improved docs

parent 0ec599b2
...@@ -10,7 +10,7 @@ const isTruthy = require(...)(options); ...@@ -10,7 +10,7 @@ const isTruthy = require(...)(options);
``` ```
- `options` - `options`
- `isPropsOmitted` - `isPropsOmitted` (`false` by default)
> Note: in versions before 2.3.0, the `props` option is required if you wish to accept props in a functional component. In 2.3.0+ you can omit the `props` option and all attributes found on the component node will be implicitly extracted as props. > Note: in versions before 2.3.0, the `props` option is required if you wish to accept props in a functional component. In 2.3.0+ you can omit the `props` option and all attributes found on the component node will be implicitly extracted as props.
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment