UNPKG

@plurid/plurid-ui-components-react

Version:

Plurid User Interface Components for React

27 lines (26 loc) 1.06 kB
import React from 'react'; import { Theme } from '@plurid/plurid-themes'; import { DispatchAction, sitting } from '@plurid/plurid-ui-state-react'; import { ToolbarButton } from "../../../../data/interfaces"; export interface ToolbarGeneralOwnProperties { buttons: ToolbarButton[]; selectors: any; context: React.Context<any>; handleClick: (type: any) => void; speakButton?: boolean; sittingButton?: boolean; } export interface ToolbarGeneralStateProperties { stateView: string; stateToolbars: any; stateSittingTray: boolean; stateInteractionTheme: Theme; } export interface ToolbarGeneralDispatchProperties { dispatchToggleSittingTray: DispatchAction<typeof sitting.actions.toggleSittingTray>; } export type ToolbarGeneralProperties = ToolbarGeneralOwnProperties & ToolbarGeneralStateProperties & ToolbarGeneralDispatchProperties; declare const ConnectedToolbarGeneral: import("react-redux").ConnectedComponent<React.FC<ToolbarGeneralProperties>, { [x: string]: any; }>; export default ConnectedToolbarGeneral;