UNPKG

antd-mobile

Version:

<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />

14 lines 304 B
import React from 'react'; import Form from '.'; export const FormSubscribe = ({ children, to }) => { return React.createElement(Form.Item, { noStyle: true, dependencies: to }, form => { const changedValues = form.getFieldsValue(to); return children(changedValues, form); }); };