Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rayhanadev/replauth-react-component

An extremely simple and beautiful ReplAuth Button to drop into React.
https://github.com/rayhanadev/replauth-react-component

authentication component react react-component repl-it replauth replit

Last synced: about 2 months ago
JSON representation

An extremely simple and beautiful ReplAuth Button to drop into React.

Awesome Lists containing this project

README

        

# replauth-component

An extremely **simple** and **beautiful** ReplAuth Button to drop into React. Comes with
prebuild light and dark theme styles you can toggle easily.

## Installation
Install it from npm and include it in your project!
```sh
npm install --save replauth-component
```

or:
```sh
yarn add --save replauth-component
```

## Usage
Drop the component into your React project!

```js
const customCallback = () => {
window.reload();
}

class App extends React.Component {
render() {
return (

)
}
}
```

See the demo [here](https://ReplAuth-React-Component.rayhanadev.repl.co). (It may take time to load, be patient for me :D)