@monash/portal-auth
v0.1.5-beta
Published
Monash react components
Downloads
77
Readme
@monash/portal-auth
Monash react components
Features
- ES6 syntax, managed with Prettier + Eslint and Stylelint
- Unit testing via Jest
- React 17
Install
yarn add @monash/portal-auth
// or
npm i @monash/portal-auth
Requirements
- Node.js
v14.x
or later - React 17
- Firebase
Usage
import { AuthContext } from '@monash/portal-auth';
import { App } from './app';
import * as ReactDOM from 'react-dom';
ReactDOM.render(
<AuthContext>
<App />
</AuthContext>,
document.getElementById('root')
);