0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

refactor: fixes flow

This commit is contained in:
Ayush Sharma 2019-02-17 17:49:50 +01:00
parent 9699e0bab7
commit 2c0ebc8591
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,5 @@
/** /**
* @prettier * @prettier
* @flow
*/ */
import styled from 'react-emotion'; import styled from 'react-emotion';
import { default as MuiFab } from '@material-ui/core/Fab'; import { default as MuiFab } from '@material-ui/core/Fab';

View file

@ -1,10 +1,9 @@
/** /**
* @prettier * @prettier
* @flow
*/ */
import styled from 'react-emotion'; import styled from 'react-emotion';
import Fab from '@material-ui/core/Fab/index'; import { default as MuiFab } from '@material-ui/core/Fab/index';
import Chip from '@material-ui/core/Chip/index'; import Chip from '@material-ui/core/Chip/index';
import ListItem from '@material-ui/core/ListItem/index'; import ListItem from '@material-ui/core/ListItem/index';
import Typography from '@material-ui/core/Typography/index'; import Typography from '@material-ui/core/Typography/index';
@ -32,7 +31,7 @@ export const DistChips = styled(Chip)`
} }
`; `;
export const DownloadButton = styled(Fab)` export const DownloadButton = styled(MuiFab)`
&& { && {
background-color: ${colors.primary}; background-color: ${colors.primary};
color: ${colors.white}; color: ${colors.white};