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

teableio / teable / 8536869866

03 Apr 2024 10:05AM CUT coverage: 21.234% (-0.3%) from 21.535%
8536869866

Pull #514

github

web-flow
Merge 91a25d710 into 45ee7ebb3
Pull Request #514: refactor: user and link selector

1394 of 2532 branches covered (55.06%)

27 of 1620 new or added lines in 60 files covered. (1.67%)

4 existing lines in 2 files now uncovered.

14588 of 68702 relevant lines covered (21.23%)

2.02 hits per line

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

0.0
/packages/sdk/src/components/record-list/RecordSearch.tsx
NEW
1
import type { InputProps } from '@teable/ui-lib';
×
NEW
2
import { Input, cn } from '@teable/ui-lib';
×
NEW
3
import { forwardRef } from 'react';
×
NEW
4
import { useTranslation } from '../../context/app/i18n';
×
NEW
5

×
NEW
6
export const RecordSearch = forwardRef<HTMLInputElement, InputProps>(
×
NEW
7
  ({ className, type, placeholder, ...props }, ref) => {
×
NEW
8
    const { t } = useTranslation();
×
NEW
9
    return (
×
NEW
10
      <div className="relative p-0.5">
×
NEW
11
        <Input
×
NEW
12
          ref={ref}
×
NEW
13
          type={type}
×
NEW
14
          className={cn('h-8', className)}
×
NEW
15
          placeholder={placeholder || t('editor.link.searchPlaceholder')}
×
NEW
16
          {...props}
×
NEW
17
        />
×
NEW
18
      </div>
×
NEW
19
    );
×
NEW
20
  }
×
NEW
21
);
×
NEW
22

×
NEW
23
RecordSearch.displayName = 'RecordSearch';
×
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