Skip to content

Commit

Permalink
readme and version
Browse files Browse the repository at this point in the history
  • Loading branch information
iamanishroy committed Jul 16, 2021
1 parent 7c12b02 commit 176bd91
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-liquidswipe",
"version": "1.0.3",
"version": "1.2.0",
"description": "A react component build on top of react-spring and react-use-gesture that improves UX by enabling liquid swipe.",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ import { Liquidswipe } from "react-liquidswipe";
function App() {
let components = []; // array of JSX

return <Liquidswipe components={components} />;
return <Liquidswipe
components={components}
style={{
height: "80vh",
width: "80vw",
margin: "10vh auto",
borderRadius: "20px",
}}
/>
}
```

Expand Down

0 comments on commit 176bd91

Please sign in to comment.