{"size": 221, "ext": "js", "max_stars_repo_path": "imports/casl/AbilityContext.js", "max_stars_repo_name": "gibelium/meteor-react-antd-casl", "max_stars_repo_stars_event_min_datetime": "2021-11-04T18:09:03.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-04T18:09:03.000Z", "max_issues_repo_path": "imports/casl/AbilityContext.js", "max_issues_repo_name": "gibelium/meteor-react-antd-casl", "max_issues_repo_issues_event_min_datetime": "2019-04-20T06:37:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-01T03:09:26.000Z", "max_forks_repo_path": "imports/casl/AbilityContext.js", "max_forks_repo_name": "gibelium/meteor-react-antd-casl", "max_forks_repo_forks_event_min_datetime": "2019-04-07T16:17:29.000Z", "max_forks_repo_forks_event_max_datetime": "2019-04-07T16:17:29.000Z"}
{"max_stars_count": 1, "max_issues_count": 7, "max_forks_count": 1, "avg_line_length": 27.625, "max_line_length": 64, "alphanum_fraction": 0.7466063348}
/** @format */

import { createContext } from 'react';
import { createContextualCan } from '@casl/react';

export const AbilityContext = createContext({});
export const Can = createContextualCan(AbilityContext.Consumer);
