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

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

  expect(wrapper.find(Form.Item).prop('help')).toBe('Help');
});
</div>

uniforms-antd

Ant Design UI components for uniforms.

MIT
Latest version published 16 days ago

Package Health Score

69 / 100
Full package analysis

Popular uniforms-antd functions