Files
workavia-calendar-front/src/components/Event/EventChip/SimpleEventChip.tsx
T
lethemanh cadfa70e60 #708 apply strictier linting rules (#717)
* #708 apply strictier linting rules and fix simple eslint bugs

* #708 fix eslint errors relate to promise

* #708 fix eslint import/no-extraneous-dependencies

* #708 fix eslint errors of react-hook

* #708 enable eslint check for typescript

---------

Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
2026-04-01 17:15:10 +02:00

28 lines
539 B
TypeScript

import { Card, Typography } from '@linagora/twake-mui'
export function SimpleEventChip({ title }: { title: string }) {
return (
<Card
variant="outlined"
sx={{
borderRadius: '4px',
px: 0.5,
py: 0.2,
boxShadow: 'none'
}}
>
<Typography
variant="body2"
sx={{
fontSize: '0.75rem',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap'
}}
>
{title}
</Typography>
</Card>
)
}