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

EcrituresNumeriques / stylo / 12925854411

23 Jan 2025 09:11AM UTC coverage: 25.831% (-4.7%) from 30.523%
12925854411

push

github

web-flow
Merge pull request #1192 from EcrituresNumeriques/feat/vite6

322 of 518 branches covered (62.16%)

Branch coverage included in aggregate %.

3448 of 14077 relevant lines covered (24.49%)

1.66 hits per line

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

0.0
/front/src/components/metadata/MetadataForm.jsx
1
import React from 'react'
×
2
import PropTypes from 'prop-types'
×
3

4
import Form from '../Form.jsx'
×
5

6
/**
7
 * @param data Values in JSON format
8
 * @param schema Data schema
9
 * @param uiSchema UI schema
10
 * @param onChange Function that return the values in JSON format
11
 * @returns {Element}
12
 * @constructor
13
 */
14
export default function MetadataForm({ data, schema, uiSchema, onChange }) {
×
15
  return (
×
16
    <Form
×
17
      formData={data}
×
18
      schema={schema}
×
19
      uiSchema={uiSchema}
×
20
      onChange={onChange}
×
21
    />
×
22
  )
23
}
×
24

25
MetadataForm.propTypes = {
×
26
  data: PropTypes.object,
×
27
  schema: PropTypes.object,
×
28
  uiSchema: PropTypes.object,
×
29
  templates: PropTypes.array,
×
30
  onChange: PropTypes.func,
×
31
}
×
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

© 2026 Coveralls, Inc