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

teableio / teable / 10174163951

31 Jul 2024 04:37AM UTC coverage: 17.693% (-0.004%) from 17.697%
10174163951

Pull #781

github

web-flow
Merge 770ca9711 into 0178ca528
Pull Request #781: feat: switch language

1383 of 2808 branches covered (49.25%)

0 of 112 new or added lines in 5 files covered. (0.0%)

14026 of 79275 relevant lines covered (17.69%)

1.76 hits per line

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

0.0
/apps/nextjs-app/src/components/Error.tsx
1
import { cn } from '@teable/ui-lib/shadcn';
×
2

×
3
interface IErrorProps {
×
4
  className?: string;
×
5
  error?: string;
×
6
}
×
7

×
8
export const Error = (props: IErrorProps) => {
×
9
  const { error, className } = props;
×
10

×
11
  return (
×
12
    <div
×
13
      data-state={error ? 'show' : 'hide'}
×
14
      className={cn(
×
15
        'data-[state=show]:mt-2 data-[state=show]:animate-slide-down-normal data-[state=hide]:animate-slide-up-normal text-sm text-destructive transition-all',
×
16
        className
×
17
      )}
×
18
    >
×
19
      {error}
×
20
    </div>
×
21
  );
×
22
};
×
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