• 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

91.67
/packages/design-system/src/lib/components/form/form-group/form-element/FormLabel.tsx
1
import { PropsWithChildren } from 'react'
1,386✔
2
import { Form as FormBS } from 'react-bootstrap'
3
import { RequiredInputSymbol } from '../../required-input-symbol/RequiredInputSymbol'
4
import { QuestionMarkTooltip } from '../../../tooltip/question-mark-tooltip/QuestionMarkTooltip'
5
import { ColProps } from '../../../grid/Col'
6

7
interface FormLabelProps extends ColProps {
8
  required?: boolean
9
  message?: string
10
  htmlFor?: string
11
  column?: boolean
12
}
198✔
13

14
export function FormLabel({
15
  required,
16
  message,
17
  htmlFor,
18
  column,
414!
19
  children,
20
  ...rest
414✔
21
}: PropsWithChildren<FormLabelProps>) {
22
  return (
23
    <FormBS.Label htmlFor={htmlFor} column={column} {...rest}>
444✔
24
      {children}
426✔
25
      {required && <RequiredInputSymbol />}{' '}
26
      {message && <QuestionMarkTooltip placement="right" message={message}></QuestionMarkTooltip>}
27
    </FormBS.Label>
198✔
28
  )
29
}
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