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

teableio / teable / 8538004962

03 Apr 2024 11:36AM UTC 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-text/CellText.tsx
NEW
1
import { cn } from '@teable/ui-lib';
×
NEW
2
import type { ICellValue } from '../type';
×
NEW
3

×
NEW
4
interface ICellText extends ICellValue<string> {
×
NEW
5
  isMultipleRows?: boolean;
×
NEW
6
}
×
NEW
7

×
NEW
8
export const CellText = (props: ICellText) => {
×
NEW
9
  const { value, className, style, isMultipleRows } = props;
×
NEW
10

×
NEW
11
  return (
×
NEW
12
    <div
×
NEW
13
      className={cn('w-full text-sm', isMultipleRows ? 'line-clamp-4' : 'truncate', className)}
×
NEW
14
      style={style}
×
NEW
15
      title={value}
×
NEW
16
    >
×
NEW
17
      {value}
×
NEW
18
    </div>
×
NEW
19
  );
×
NEW
20
};
×
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