feat(rrule-display): display recurrence rule as a Badge instead of plain text
This commit is contained in:
@@ -13,7 +13,9 @@ export function RRuleDisplay({ rrule, className }: RRuleDisplayProps) {
|
||||
|
||||
return (
|
||||
<div className={className}>
|
||||
<span className="text-sm text-muted-foreground">{humanText}</span>
|
||||
<Badge variant="secondary" className="text-[10px] font-normal h-5">
|
||||
{humanText}
|
||||
</Badge>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user