feature: add TaskDetails component

This commit is contained in:
Jordan Knott
2020-04-10 14:45:49 -05:00
parent a877cd9414
commit 90f22d322e
10 changed files with 487 additions and 2 deletions

View File

@ -0,0 +1,22 @@
import React from 'react';
type Props = {
size: number | string;
color: string;
};
const Bin = ({ size, color }: Props) => {
return (
<svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 16 16">
<path d="M2 5v10c0 0.55 0.45 1 1 1h9c0.55 0 1-0.45 1-1v-10h-11zM5 14h-1v-7h1v7zM7 14h-1v-7h1v7zM9 14h-1v-7h1v7zM11 14h-1v-7h1v7z" />
<path d="M13.25 2h-3.25v-1.25c0-0.412-0.338-0.75-0.75-0.75h-3.5c-0.412 0-0.75 0.338-0.75 0.75v1.25h-3.25c-0.413 0-0.75 0.337-0.75 0.75v1.25h13v-1.25c0-0.413-0.338-0.75-0.75-0.75zM9 2h-3v-0.987h3v0.987z" />
</svg>
);
};
Bin.defaultProps = {
size: 16,
color: '#000',
};
export default Bin;

View File

@ -1,5 +1,6 @@
import Cross from './Cross';
import Bell from './Bell';
import Bin from './Bin';
import Pencil from './Pencil';
import Checkmark from './Checkmark';
import User from './User';
@ -11,4 +12,4 @@ import Stack from './Stack';
import Question from './Question';
import Exit from './Exit';
export { Cross, Bell, Exit, Pencil, Stack, Question, Home, Citadel, Checkmark, User, Users, Lock };
export { Cross, Bell, Bin, Exit, Pencil, Stack, Question, Home, Citadel, Checkmark, User, Users, Lock };