Created ComponentChip and CellComponentChip and their stories (#186)
* Created ComponentChip and CellComponentChip and their stories * Fixed from comments * Fixed icon color * Fixed needle in a haystack bug
This commit is contained in:
18
front/src/components/comments/CellCommentChip.tsx
Normal file
18
front/src/components/comments/CellCommentChip.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import styled from '@emotion/styled';
|
||||
import { CommentChip, CommentChipProps } from './CommentChip';
|
||||
|
||||
const StyledCellWrapper = styled.div`
|
||||
position: relative;
|
||||
right: 38px;
|
||||
top: -14px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
`;
|
||||
|
||||
export function CellCommentChip(props: CommentChipProps) {
|
||||
return (
|
||||
<StyledCellWrapper>
|
||||
<CommentChip {...props} />
|
||||
</StyledCellWrapper>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user