"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useSelectorContext = exports.SelectorContextProvider = void 0;

var _react = require("react");

var SelectorContext = /*#__PURE__*/(0, _react.createContext)({
  stateful: false,
  type: 'radio',
  name: '',
  onChange: function onChange() {}
});
var SelectorContextProvider = SelectorContext.Provider;
exports.SelectorContextProvider = SelectorContextProvider;

var useSelectorContext = function useSelectorContext() {
  return (0, _react.useContext)(SelectorContext);
};

exports.useSelectorContext = useSelectorContext;