Repository URL to install this package:
Version:
0.14.1 ▾
|
.. |
README.md |
SnackBar.tsx |
index.ts |
renderProps.tsx |
styled.tsx |
typings.ts |
used for all error views
when we eventually go do something with absolutely positioned transformed elements
${props => props.position === 'topleft' && styled.css` top: 0; left: 0; bottom: auto; right: auto; `}; ${props => props.position === 'topcenter' && styled.css` top: 0; left: 0; bottom: auto; right: 0; `}; ${props => props.position === 'topright' && styled.css` top: 0; left: auto; bottom: auto; right: 0; `}; ${props => props.position === 'middleleft' && styled.css` top: 0; left: 0; bottom: 0; right: auto; `}; ${props => props.position === 'middlecenter' && styled.css` top: 0; left: 0; bottom: 0; right: 0; `}; ${props => props.position === 'middleright' && styled.css` top: 0; left: auto; bottom: 0; right: 0; `}; ${props => props.position === 'bottomleft' && styled.css` top: auto; left: 0; bottom: 0; right: auto; `}; ${props => props.position === 'bottomcenter' && styled.css` top: auto; left: 0; bottom: 0; right: 0; `}; ${props => props.position === 'bottomright' && styled.css` top: auto; left: auto; bottom: 0; right: 0; `}; ${props => props.position === '' && styled.css` top: 0; left: auto; bottom: auto; right: 0; `};