UNPKG

707 BTypeScriptView Raw
1import React, { CSSProperties } from 'react';
2import { Store } from './store/async';
3import { ComponentProps } from './types';
4/**
5 * The interface for the Host's props
6 * @public
7 * */
8export interface Props {
9 style?: CSSProperties;
10 /** An array of React components */
11 components: React.ComponentType<ComponentProps>[];
12}
13/**
14 * A component that renders an array of components
15 * and provides the global App Bridge store as a prop
16 * @public
17 * */
18export declare function Host(props: Props & {
19 store: Store;
20}): JSX.Element;
21declare const _default: import("react-redux").ConnectedComponent<typeof Host, Pick<Props & {
22 store: Store;
23}, "style" | "components">>;
24export default _default;