Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
87Hz committed Jun 8, 2019
1 parent 4c55dc1 commit 6e77f2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ yarn add react-dom-props
### Usage

```jsx
// simply import from package if you need both of them
import { pickHtmlProps, pickSvgProps } from 'react-dom-props';

// if you just need one of them, import the member explictly like below to reduce bundle size
import { pickHtmlProps } from 'react-dom-props/dist/pickHtmlProps';
import { pickSvgProps } from 'react-dom-props/dist/pickSvgProps';

Expand Down

0 comments on commit 6e77f2b

Please sign in to comment.