1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-20 01:55:56 +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,4 +1,5 @@
import React, { Component } from 'react';
import { css } from 'emotion';
import { Props, State } from './types';
import { CommandContainer } from './styles';
@@ -14,7 +15,12 @@ import { NODE_MANAGER } from '../../utils/constants';
function TabContainer({ children }): JSX.Element {
return (
<CommandContainer>
<Typography component="div" style={{ padding: 0, minHeight: 170 }}>
<Typography
className={css`
padding: 0;
min-height: 170;
`}
component="div">
{children}
</Typography>
</CommandContainer>