orchidmap-front/src/components/user/GuestButton.tsx
2019-02-21 15:22:26 +07:00

18 lines
424 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import * as React from 'react';
import { Icon } from '$components/panels/Icon';
type Props = {
onClick: () => void,
}
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>
);