@material-ui/styles#CreateCSSProperties TypeScript Examples

The following examples show how to use @material-ui/styles#CreateCSSProperties. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.tsx    From prism-frontend with MIT License 6 votes vote down vote up
DATE_ITEM_STYLES: CreateCSSProperties = {
  borderTop: '1px solid white',
  color: 'white',
  position: 'relative',
  top: -5,
  cursor: 'pointer',
  minWidth: TIMELINE_ITEM_WIDTH,
  '&:hover': {
    borderLeft: '1px solid #5ccfff',
  },
}
Example #2
Source File: Orbit.tsx    From react-planet with MIT License 5 votes vote down vote up
orbitDefaultStyle: CSSProperties | CreateCSSProperties<{}> = {
	position: 'absolute',
	borderRadius: '100%',
	borderWidth: 2,
	borderStyle: 'dotted',
	borderColor: 'lightgrey',
	zIndex: 0,
}