typed some components

This commit is contained in:
muerwre 2019-02-21 14:54:00 +07:00
parent a3f7fd9b46
commit a5126aff4a
7 changed files with 23 additions and 31 deletions

View file

@ -1,19 +0,0 @@
// @flow
import * as React from 'react';
import { Icon } from '$components/panels/Icon';
type Props = {
onClick: Function,
}
export const GuestButton = ({ onClick }: Props) => (
<div className="control-bar user-bar control-bar-padded">
<button
className="user-bar-guest"
onClick={onClick}
>
<Icon icon="icon-reg-1" />
<span className="desktop-only">ВОЙТИ</span>
</button>
</div>
);