department-of-veterans-affairs/vets-website

View on GitHub
src/applications/simple-forms/21-4138/pages/layOrWitness.js

Summary

Maintainability
A
2 hrs
Test Coverage
import { titleUI } from '~/platform/forms-system/src/js/web-component-patterns';
import { LAY_OR_WITNESS_HANDOFF } from '../config/constants';

/** @type {PageSchema} */
export const layWitnessStatementPage = {
  uiSchema: {
    ...titleUI({
      title: "There's a better way to submit your statement to us",
      headerLevel: 1,
    }),
    'view:layOrWitnessContent': {
      'ui:description': LAY_OR_WITNESS_HANDOFF,
    },
  },
  schema: {
    type: 'object',
    properties: {
      'view:layOrWitnessContent': {
        type: 'object',
        properties: {},
      },
    },
  },
};