@abbl/material-calendar
Version:
Calendar component build with React and Material-UI
39 lines • 1.33 kB
JavaScript
import { CssBaseline, makeStyles } from '@material-ui/core';
import React, { memo } from 'react';
import NavigationBar from './components/navigationBar/NavigationBar';
import ViewController from './components/viewController/ViewController';
var useStyles = makeStyles(function (theme) { return ({
root: {
backgroundColor: theme.palette.common.white,
fontFamily: 'Roboto',
},
'@global': {
'*::-webkit-scrollbar': {
WebkitAppearance: 'none',
},
'*::-webkit-scrollbar:vertical': {
width: '16px',
},
'*::-webkit-scrollbar:horizontal': {
height: '16px',
},
'*::-webkit-scrollbar-thumb': {
borderRadius: '8px',
backgroundColor: 'rgb(190, 193, 198)',
border: '4px solid white',
},
'*::webkit-scrollbar-track': {
backgroundColor: '#fff',
borderRadius: '8px',
},
},
}); });
function CalendarCore() {
var classes = useStyles();
return (React.createElement("div", { className: classes.root },
React.createElement(CssBaseline, null),
React.createElement(NavigationBar, null),
React.createElement(ViewController, null)));
}
export default memo(CalendarCore);
//# sourceMappingURL=CalendarCore.js.map