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

IQSS / dataverse-frontend / 8509236605

01 Apr 2024 02:19PM CUT coverage: 97.539%. Remained the same
8509236605

Pull #353

github

MellyGray
Merge branch 'develop' of https://github.com/IQSS/dataverse-frontend into docs/26-add-frontend-guides
Pull Request #353: 26 - Add frontend guides

595 of 620 branches covered (95.97%)

Branch coverage included in aggregate %.

1704 of 1737 relevant lines covered (98.1%)

3566.65 hits per line

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

75.0
/packages/design-system/src/lib/components/form/form-group/form-element/FormFeedback.tsx
1
import { FormControl } from 'react-bootstrap'
812✔
2
import { PropsWithChildren } from 'react'
3
import { Col } from '../../../grid/Col'
4

5
interface FormFeedbackProps {
6
  type?: 'valid' | 'invalid'
7
  withinMultipleFieldsGroup?: boolean
8
}
9

10
export function FormFeedback({
116✔
11
  type = 'valid',
×
12
  withinMultipleFieldsGroup,
13
  children
14
}: PropsWithChildren<FormFeedbackProps>) {
15
  return withinMultipleFieldsGroup ? (
48!
16
    <FormControl.Feedback type={type}>{children}</FormControl.Feedback>
17
  ) : (
18
    <FormControl.Feedback as={Col} sm={{ offset: 3, span: 9 }} type={type}>
19
      {children}
20
    </FormControl.Feedback>
21
  )
22
}
116✔
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