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

teableio / teable / 8454778125

27 Mar 2024 03:56PM UTC coverage: 21.846% (+0.008%) from 21.838%
8454778125

Pull #507

github

web-flow
Merge bb6c55a35 into 3f55c76b9
Pull Request #507: feat: search api

1396 of 2499 branches covered (55.86%)

28 of 293 new or added lines in 77 files covered. (9.56%)

117 existing lines in 30 files now uncovered.

14546 of 66583 relevant lines covered (21.85%)

2.09 hits per line

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

0.0
/packages/sdk/src/components/expand-record/ExpandRecordWrap.tsx
1
import { type FC, type PropsWithChildren } from 'react';
×
2
import { Modal } from './Modal';
×
3
import { Panel } from './Panel';
×
NEW
4
import { IExpandRecordModel } from './type';
×
5

×
6
export const ExpandRecordWrap: FC<
×
7
  PropsWithChildren<{
×
NEW
8
    model?: IExpandRecordModel;
×
9
    visible?: boolean;
×
10
    showActivity?: boolean;
×
11
    onClose?: () => void;
×
12
  }>
×
13
> = (props) => {
×
14
  const { children, model, visible, showActivity, onClose } = props;
×
15

×
NEW
16
  if (model === IExpandRecordModel.Modal)
×
17
    return (
×
18
      <Modal visible={visible} showActivity={showActivity} onClose={onClose}>
×
19
        {children}
×
20
      </Modal>
×
21
    );
×
22
  return <Panel visible={visible}>{children}</Panel>;
×
23
};
×
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