import * as React from 'react';

/**
 * @ignore - internal component.
 */

var FormControlContext = React.createContext();

if (process.env.NODE_ENV !== 'production') {
  FormControlContext.displayName = 'FormControlContext';
}

function useFormControl() {
  return React.useContext(FormControlContext);
}
var FormControlContext$1 = FormControlContext;

export { FormControlContext$1 as F, useFormControl as u };
