import * as React from 'react';
import {styled} from '@storybook/theming';
import Text from '../../../components/text/Text';
import Flex from '../../../components/flex/Flex';
import Icon from '../../../components/icons/Icon';
type StatusType = 'DONE' | 'TO DO' | 'IN PROGRESS' | 'N/A';
export type RuleType = {
pattern: string;
comment?: string;
status: StatusType;
};
const Pattern = styled(Text)({
marginBottom: '4px',
});
const IconWrapper = styled(Flex)({
width: '24px',
height: '24px',
borderRadius: '24px',
marginRight: '16px',
flexShrink: '0',
});
const DoneIconWrapper = styled(IconWrapper)({
background: '#24A865',
});
const ToDoIconWrapper = styled(IconWrapper)({
border: '2px solid #C3D1DD',
});
const Li = styled.li({
paddingBottom: '8px',
borderBottom: '2px solid #F5F8FA',
paddingTop: '8px',
maxWidth: '800px',
});
const DoneIcon = (