1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

login mechanism

This commit is contained in:
muerwre 2019-04-04 16:36:50 +07:00
parent 6168841f78
commit 9528e7f699
27 changed files with 528 additions and 96 deletions

View file

@ -0,0 +1,20 @@
import * as React from 'react';
const style = require('./style.scss');
interface IButtonProps {
children?: string,
label?: string,
onClick?: React.MouseEventHandler,
}
export const Button: React.FunctionComponent<IButtonProps> = ({
children,
label,
onClick = () => {},
}) => (
<div className={style.container} onClick={onClick}>
{label || children || ''}
</div>
);