redux: editor-panel: login-logout

This commit is contained in:
muerwre 2018-11-26 15:11:51 +07:00
parent e56e49acf4
commit 185fe80fc5
15 changed files with 314 additions and 260 deletions

View file

@ -1,8 +1,14 @@
// @flow
import React from 'react';
export const GuestButton = ({ onClick }) => (
type Props = {
onClick: Function,
}
export const GuestButton = ({ onClick }: Props) => (
<div className="control-bar user-bar">
<button
className="user-bar-guest"
onClick={onClick}
>
<span>ВОЙТИ</span>