import React from 'react'; import { WidgetProps, WidgetType } from '@ui-schema/ui-schema/Widget'; import { UIStoreActions } from '@ui-schema/ui-schema/UIStoreActions'; import { WithScalarValue } from '@ui-schema/ui-schema/UIStore'; import { WidgetsBindingFactory } from '@ui-schema/ui-schema/WidgetsBinding'; import { InfoRendererProps } from '@ui-schema/ds-material/Component/InfoRenderer'; export interface MuiWidgetsBindingTypes { string?: React.ComponentType & C & WithScalarValue>; boolean?: React.ComponentType & C & WithScalarValue>; number?: React.ComponentType & C & WithScalarValue>; integer?: React.ComponentType & C & WithScalarValue>; null?: React.ComponentType & C & WithScalarValue>; array?: React.ComponentType & C>; object?: React.ComponentType & C>; } export interface MuiWidgetsBindingCustom { [key: string]: WidgetType | WidgetType; } export interface MuiWidgetBindingExtra { InfoRenderer?: React.ComponentType; } export type MuiWidgetBinding = WidgetsBindingFactory, MuiWidgetsBindingCustom>;