https://github.com/cawfree/react-progressive-pane
⚛️ A mobile experience on the web, and a mobile experience on a mobile, although it's basically just a centered div.
https://github.com/cawfree/react-progressive-pane
container layout mobile modal progressive react widget
Last synced: about 1 month ago
JSON representation
⚛️ A mobile experience on the web, and a mobile experience on a mobile, although it's basically just a centered div.
- Host: GitHub
- URL: https://github.com/cawfree/react-progressive-pane
- Owner: cawfree
- License: mit
- Created: 2020-09-20T09:16:00.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-09-20T14:53:57.000Z (almost 6 years ago)
- Last Synced: 2025-03-16T02:49:45.584Z (over 1 year ago)
- Topics: container, layout, mobile, modal, progressive, react, widget
- Language: JavaScript
- Homepage:
- Size: 4.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-progressive-pane
## 🚀 Getting Started
Using [**yarn**](https://yarnpkg.com):
```
yarn add react-progressive-pane
```
Using [**npm**](https://npmjs.com):
```
npm i -s react-progressive-pane
```
## ✍️ Example
```javascript
import React, { useCallback } from "react";
import { ProgressivePane } from "react-progressive-pane";
export default () => {
const renderBackdrop = useCallback(
() => (
),
[],
);
const renderContent = useCallback(
({ isMobile }) => (
),
[],
);
return (
);
};
```
## ✌️ License
[**MIT**](./LICENSE)