1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-18 00:56:00 +07:00

fix: verdaccio/jsx-no-style

This commit is contained in:
Griffithtp
2019-06-29 23:39:56 +01:00
parent 4746f4070c
commit 55b1402456
5 changed files with 58 additions and 32 deletions

View File

@@ -1,5 +1,6 @@
import React, { SyntheticEvent, Component, Fragment, ReactElement } from 'react';
import { Link } from 'react-router-dom';
import { css } from 'emotion';
import Button from '@material-ui/core/Button';
import IconButton from '@material-ui/core/IconButton';
@@ -141,7 +142,11 @@ class Header extends Component<Props, State> {
const { withoutSearch = false } = this.props;
return (
<LeftSide>
<Link style={{ marginRight: '1em' }} to={'/'}>
<Link
className={css`
margin-right: '1em';
`}
to={'/'}>
{this.renderLogo()}
</Link>
{!withoutSearch && (