export const getBgColor = ({ theme, selected, isInSelectedRange, isInHoveredRange, disabled, }) => {
    if (selected && disabled) {
        return theme.palette.grey[300];
    }
    if (selected) {
        return theme.palette.primary[800];
    }
    if (isInSelectedRange) {
        if (disabled) {
            return theme.palette.grey[200];
        }
        return theme.palette.primary[100];
    }
    if (isInHoveredRange) {
        return theme.palette.grey[100];
    }
    return '';
};
