Skip to content

Commit

Permalink
Merge pull request #4 from hyeon-9yu/main
Browse files Browse the repository at this point in the history
Fix readme letter error
  • Loading branch information
gusrb3164 authored Dec 13, 2021
2 parents dd4ce29 + a24a87b commit dec62fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 54 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ $ yarn add react-custom-alert
```js
import React from 'react';
import { AlertContainer, alert } from 'react-custom-alert';
import 'react-custom-alert/index.css'; // import css file from root.
import 'react-custom-alert/dist/index.css'; // import css file from root.

function RootComponent() {
return (
<>
<App />
{/* Add ToastContainer from your root component. */}
{/* Add AlertContainer from your root component. */}
{/* If no floatingTime, the default is 3000ms. */}
<ToastContainer floatingTime={5000} />
<AlertContainer floatingTime={5000} />
</>
);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-custom-alert",
"version": "0.1.1",
"version": "0.1.2",
"description": "Easliy use react alert and customize",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
Expand Down
50 changes: 0 additions & 50 deletions readme.md

This file was deleted.

0 comments on commit dec62fc

Please sign in to comment.