Files
twenty_crm/front/src/modules/activities/table/components/CellCommentChip.tsx
Charles Bochet 6ced8434bd Uniformize folder structure (#693)
* Uniformize folder structure

* Fix icons

* Fix icons

* Fix tests

* Fix tests
2023-07-16 14:29:28 -07:00

17 lines
410 B
TypeScript

import styled from '@emotion/styled';
import { CommentChip, CommentChipProps } from './CommentChip';
// TODO: tie those fixed values to the other components in the cell
const StyledCellWrapper = styled.div``;
export function CellCommentChip(props: CommentChipProps) {
if (props.count === 0) return null;
return (
<StyledCellWrapper>
<CommentChip {...props} />
</StyledCellWrapper>
);
}