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

IQSS / dataverse-frontend / 10219381635

02 Aug 2024 05:08PM CUT coverage: 98.403%. Remained the same
10219381635

push

github

GermanSaracca
feat: back to disable button

86 of 90 branches covered (95.56%)

Branch coverage included in aggregate %.

222 of 223 relevant lines covered (99.55%)

198.27 hits per line

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

85.71
/packages/design-system/src/lib/components/form/form-group/form-element/FormElementLayout.tsx
1
import { PropsWithChildren } from 'react'
1,386✔
2
import { Col } from '../../../grid/Col'
3

4
interface LayoutFormGroupElementProps {
5
  withinMultipleFieldsGroup?: boolean
6
  isValid?: boolean
7
  isInvalid?: boolean
198✔
8
}
9
export function FormElementLayout({
10
  withinMultipleFieldsGroup,
11
  isValid,
414!
12
  isInvalid,
198✔
13
  children
14
}: PropsWithChildren<LayoutFormGroupElementProps>) {
15
  const className = isInvalid ? 'is-invalid' : isValid ? 'is-valid' : ''
16
  return withinMultipleFieldsGroup ? (
17
    <>{children}</>
18
  ) : (
19
    <Col sm={9} className={className}>
20
      {children}
21
    </Col>
22
  )
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