UNPKG

@abbl/material-calendar

Version:

Calendar component build with React and Material-UI

17 lines 699 B
import { useTheme } from '@material-ui/core'; import React from 'react'; function Day(props) { var theme = useTheme(); return (React.createElement("div", { style: { flexDirection: 'row', display: 'flex', backgroundColor: theme.palette.common.white } }, React.createElement("div", { style: { height: 48, borderTop: props.hideBorder ? '0px solid' : '1px solid', borderTopColor: theme.palette.grey[300], borderLeft: '1px solid', borderLeftColor: theme.palette.grey[300], display: 'flex', flexGrow: 1, } }))); } export default Day; //# sourceMappingURL=Day.js.map