feat: add task activity

This commit is contained in:
Jordan Knott
2020-12-18 20:34:35 -06:00
parent f732b211c9
commit 19deab0515
48 changed files with 9359 additions and 4991 deletions

View File

@ -1,12 +1,21 @@
import React from 'react';
import Icon, { IconProps } from './Icon';
type Props = {
width: number | string;
height: number | string;
color: string;
export const AngleDown: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => {
return (
<Icon width={width} height={height} className={className} viewBox="0 0 512 512">
<path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" />
</Icon>
);
};
const AngleDown = ({ width, height, color }: Props) => {
type Props = {
width?: number | string;
height?: number | string;
color?: string;
};
const AngleDownOld = ({ width, height, color }: Props) => {
return (
<svg width={width} height={height} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
<path
@ -17,10 +26,10 @@ const AngleDown = ({ width, height, color }: Props) => {
);
};
AngleDown.defaultProps = {
AngleDownOld.defaultProps = {
width: 24,
height: 16,
color: '#000',
};
export default AngleDown;
export default AngleDownOld;