UNPKG

307 BJavaScriptView Raw
1import React from 'react';
2export const defaultFormContext = {
3 name: undefined,
4 hasFeedback: true,
5 layout: 'vertical',
6 requiredMarkStyle: 'asterisk',
7 disabled: false
8};
9export const FormContext = React.createContext(defaultFormContext);
10export const NoStyleItemContext = React.createContext(null);
\No newline at end of file