// import React from "react";
// import Include, { IncludeExclusionState } from "../../base/Root/Module/ItemDefinition/Include";
// import { ItemContext } from "../providers/item";
// import IncludeExclusionSwitch from "../base/IncludeExclusionSwitch";
// import IncludeCalloutWarning from "../base/IncludeCalloutWarning";
// import { IncludeContext } from "../../providers/include";
// interface IExclusionSwitchProps {
// onChange?: (include: Include, newExclusionState: IncludeExclusionState) => void;
// }
// export function ExclusionSwitch(props: IExclusionSwitchProps) {
// return (
//
// {
// (itemContextualValue) => (
//
// {
// (includeContextualValue) => {
// if (!includeContextualValue) {
// throw new Error("The ExclusionSwitch must be in an Include context");
// }
// const onChange = (newExclusionState: IncludeExclusionState) => {
// if (props.onChange) {
// props.onChange(includeContextualValue.include, newExclusionState);
// }
// itemContextualValue.onIncludeSetExclusionState(
// includeContextualValue.include, newExclusionState,
// );
// };
// return (
//
// );
// }
// }
//
// )
// }
//
// );
// }
// export function CalloutWarning() {
// return (
//
// {
// (includeContextualValue) => {
// if (!includeContextualValue) {
// throw new Error("The CalloutWarning must be in an Include context");
// }
// return (
//
// );
// }
// }
//
// );
// }