• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

teableio / teable / 8538004962

03 Apr 2024 11:36AM CUT coverage: 18.233% (-3.3%) from 21.535%
8538004962

Pull #528

github

web-flow
Merge c1a248a6f into 45ee7ebb3
Pull Request #528: feat: Kanban view

575 of 1136 branches covered (50.62%)

29 of 2908 new or added lines in 83 files covered. (1.0%)

5 existing lines in 5 files now uncovered.

6439 of 35315 relevant lines covered (18.23%)

3.94 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/sdk/src/components/cell-value/cell-select/SelectTag.tsx
1
import { cn } from '@teable/ui-lib';
×
2
import React from 'react';
×
3

×
4
export interface ISelectTag {
×
5
  label: string;
×
6
  color?: string;
×
7
  backgroundColor?: string;
×
8
  className?: string;
×
9
}
×
10

×
11
export const SelectTag: React.FC<React.PropsWithChildren<ISelectTag>> = (props) => {
×
12
  const { label, color, backgroundColor, className, children } = props;
×
13
  return (
×
14
    <div
×
15
      className={cn(
×
NEW
16
        'text-[13px] px-2 h-6 leading-6 rounded-md bg-secondary text-secondary-foreground overflow-hidden shrink-0',
×
17
        className
×
18
      )}
×
19
      style={{ color, backgroundColor }}
×
20
      title={label}
×
21
    >
×
22
      <p className="flex-1 truncate">{label}</p>
×
23
      {children}
×
24
    </div>
×
25
  );
×
26
};
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc