How to use the uniforms-bootstrap4.wrapField function in uniforms-bootstrap4

To help you get started, we’ve selected a few uniforms-bootstrap4 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vazco / uniforms / packages / uniforms-bootstrap4 / __tests__ / wrapField.tsx View on Github external
test(' - renders error block (showInlineError=false)', () => {
  const error = new Error();
  const element = wrapField(
    { error, showInlineError: false, errorMessage: 'Error' },
    <div>,
  );
  const wrapper = mount(element);

  expect(wrapper.find('.text-danger')).toHaveLength(0);
});
</div>

uniforms-bootstrap4

Bootstrap4 UI components for uniforms.

MIT
Latest version published 1 month ago

Package Health Score

69 / 100
Full package analysis