|
|
|
@ -10,6 +10,10 @@ import Checkbox from '@material-ui/core/Checkbox';
|
|
|
|
|
import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';
|
|
|
|
|
import * as colors from '@material-ui/core/colors';
|
|
|
|
|
|
|
|
|
|
import moment from 'moment';
|
|
|
|
|
|
|
|
|
|
import { mapPriority } from '../../helpers';
|
|
|
|
|
|
|
|
|
|
const checkboxColor = {
|
|
|
|
|
[TaskPriorityType.Undefined]: colors.grey[600],
|
|
|
|
|
[TaskPriorityType.Low]: colors.blue[600],
|
|
|
|
@ -17,10 +21,6 @@ const checkboxColor = {
|
|
|
|
|
[TaskPriorityType.High]: colors.red[600],
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
import moment from 'moment';
|
|
|
|
|
|
|
|
|
|
import { mapPriority } from '../../helpers';
|
|
|
|
|
|
|
|
|
|
interface PropsType {
|
|
|
|
|
entry: TaskType;
|
|
|
|
|
onClick: (task: TaskType) => void;
|
|
|
|
|