Skip to content

Commit

Permalink
chore(readme): add installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte authored Apr 23, 2018
1 parent b43529e commit 78a6671
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ The following options can be React elements:
- cancelButtonText
- footer

## Example
## Installation

```
npm install --save sweetalert2 sweetalert2-react-content
```

## Usage Example

```jsx
import Swal from 'sweetalert2'
Expand Down

0 comments on commit 78a6671

Please sign in to comment.