dictyBase / dicty-components-login

Login buttons component for use with dicty applications
BSD 2-Clause "Simplified" License
0 stars 0 forks source link
esbuild reactjs rescript typescript

dicty-components-login

All Contributors

License
GitHub tag GitHub action
codecov Maintainability
Last commit
Funding

This is a ReScript library that generates React components for social login buttons used in all dictyBase web applications.

Usage

import { GoogleButton, LinkedInButton, OrcidButton } from "dicty-components-login"

This component expects the following props to be passed:

For example, <GoogleButton handleClick={(e) => console.log(e)} text="Login with Google" />

Demo

There is a demo app inside the example that shows how to use this library in a create-react-app application.

Run yarn start to start the demo.

If there are issues running the demo app, check its readme for possible solutions.

Development

For active local development, run yarn start to start the demo app, then run yarn bundle any time you make changes to see them in realtime.

If you are ready to cut a new release, you can then merge into master. This will trigger a GitHub Action that uses semantic-release to create a new tag automatically.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Siddhartha Basu

πŸ› πŸ’» πŸ–‹ πŸ“– 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

Misc badges

Issues Open Issues Closed Issues
Total PRS Open PRS Closed PRS Merged PRS
Commits Branches Tags
GitHub repo size GitHub code size in bytes Lines of Code