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

To help you get started, we’ve selected a few uniforms-bootstrap3 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-bootstrap3 / __tests__ / wrapField.tsx View on Github external
test(' - renders help block', () => {
  const element = wrapField({ help: 'Hint' }, <div>);
  const wrapper = mount(element);

  expect(wrapper.find('.help-block').text()).toBe('Hint');
});
</div>

uniforms-bootstrap3

Bootstrap3 UI components for uniforms.

MIT
Latest version published 11 months ago

Package Health Score

59 / 100
Full package analysis