import { useContext } from 'react';
import DataSourceContext from "../provider/dataSource/DataSourceContext";

/**
 * 获取当前dataSource
 */
var useDataSource = function useDataSource() {
  var config = useContext(DataSourceContext);
  return config;
};
export default useDataSource;