react-cheapauth
v0.0.7-alpha.0
Published
A UI component of cheap authentication screen
Maintainers
Readme
react-cheapauth
[
](https://www.npmjs.com/package/react-cheapauth
Prepare
Should add react-cheapauth into current project using by the npm or yarn.
yarn add react-cheapauth
# npm i react-cheapauthUsage
Example of use in the below.
import Cheapauth from 'vue-cheapauth';
import YourAppRoot from '...';
export default = () => {
return (
<Cheapauth
password={process.env.LOGIN_PASSWORD}
title="Authentication"
submitLabel="Login"
>
</Cheapauth>
)
}Properties
The component Cheapauth is required three properties password, title and submitLabel. title and submitLabel is just become to the text of title and button of authentication form.
password is used for comparing that an user input one.
