forked from sombochea/verdaccio-ui
fix: typography Component - Introduced ForwardRef (#179)
* refactor: introduced forwardref * refacttor: updated ref's * fix: fixed func's name * fix: fixed snapshots * fix: updated snap
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
82d7107de7
commit
a8deeb9b9d
40
src/components/NotFound/styles.ts
Normal file
40
src/components/NotFound/styles.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { default as MuiCard } from '@material-ui/core/Card';
|
||||
import { default as MuiList } from '@material-ui/core/List';
|
||||
import styled from 'react-emotion';
|
||||
|
||||
import { default as Typography } from '../../muiComponents/Heading';
|
||||
|
||||
export const Wrapper = styled('div')({
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'center',
|
||||
flex: 1,
|
||||
padding: '16px',
|
||||
});
|
||||
|
||||
export const Inner = styled('div')({
|
||||
maxWidth: '650px',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
});
|
||||
|
||||
export const EmptyPackage = styled('img')({
|
||||
width: '150px',
|
||||
margin: '0 auto',
|
||||
});
|
||||
|
||||
export const Heading = styled(Typography)({
|
||||
color: '#4b5e40',
|
||||
});
|
||||
|
||||
export const List = styled(MuiList)({
|
||||
'&&': {
|
||||
padding: 0,
|
||||
color: '#4b5e40',
|
||||
},
|
||||
});
|
||||
|
||||
export const Card = styled(MuiCard)({
|
||||
marginTop: '24px',
|
||||
});
|
||||
Reference in New Issue
Block a user