Skip to content

Commit 63b0505

Browse files
authored
Update README.md
1 parent c0f35a4 commit 63b0505

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create react screenshot
22

3-
_React hook which allows you to make component screenshot and get an image._
3+
_React hook which allows you to make component screenshot and get an image in different extensions._
44

55
[![NPM](https://img.shields.io/npm/v/use-react-screenshot.svg)](https://www.npmjs.com/package/use-react-screenshot) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-airbnb-brightgreen.svg)](https://standardjs.com) [![Maintainability](https://api.codeclimate.com/v1/badges/4eed8edefb50d41a2093/maintainability)](https://codeclimate.com/github/vre2h/use-react-screenshot/maintainability)
66

@@ -22,9 +22,14 @@ npm install --save react html2canvas
2222

2323
See this [codesandbox playground](https://codesandbox.io/s/react-screenshot-hook-2jdyt) or `/example` folder if you want to play with hook.
2424

25+
In the following example you can find examples of:
26+
- Taking screenshot and placing it in your page
27+
- Downloaded screenshoted part
28+
- How to use different extensions (see `components/Download.js` page)
29+
2530
## Usage
2631

27-
_A simple example which allows you to take a screenshot and place it as an image on the page._
32+
_A simple example which allows you to take a screenshot and place it as an image on the page (also you can download it or use differently, see examples section above)._
2833

2934
```jsx
3035
import React, { createRef, useState } from 'react'

0 commit comments

Comments
 (0)