// import React from "react"; // import { LocaleContext, ILocaleContextType } from "../../internal/providers/locale-provider"; // import { ThemeProvider, withStyles, WithStyles } from "@material-u/styles"; // import { style, STANDARD_THEME, IIncludeExclusionSwitchThemeType } from "./styles"; // import Include, { IIncludeState, IncludeExclusionState } from "../../../base/Root/Module/ItemDefinition/Include"; // import TernaryExclusionSwitch from "./TernaryExclusionSwitch"; // import StandardExclusionSwitch from "./StandardExclusionSwitch"; // export interface IIncludeExclusionSwitchBaseProps { // include: Include; // state: IIncludeState; // onChange: (newExclusionState: IncludeExclusionState) => void; // forId: string; // forVersion: string; // theme?: Partial; // } // export interface IIncludeExclusionSwitchProps extends IIncludeExclusionSwitchBaseProps, WithStyles { // locale: ILocaleContextType; // } // const IncludeExclusionSwitchWithStyles = withStyles(style)((props: IIncludeExclusionSwitchProps) => { // return ( //
// { // props.include.canExclusionBeSet(props.forId, props.forVersion) ? // (props.include.isExclusionTernary() ? // : // // ) : // null // } //
// ); // }); // export default function IncludeExclusionSwitch(props: IIncludeExclusionSwitchBaseProps) { // let appliedTheme: IIncludeExclusionSwitchThemeType = STANDARD_THEME; // if (props.theme) { // appliedTheme = { // ...STANDARD_THEME, // ...props.theme, // }; // } // // Build the context and render sending the right props // return ( // // { // (locale) => // // // // } // // ); // }