UNPKG

flowmolio

Version:

[![Tests](https://github.com/vladvlasov256/flowmolio/actions/workflows/test.yml/badge.svg)](https://github.com/vladvlasov256/flowmolio/actions/workflows/test.yml) [![Coverage](https://codecov.io/gh/vladvlasov256/flowmolio/branch/main/graph/badge.svg)](htt

17 lines (16 loc) 628 B
import React from 'react'; import { Layout, Blueprint, DataSources } from '../types'; interface BaseFlowMolioPreviewProps extends React.SVGProps<SVGSVGElement> { dataSources: DataSources; } interface FlowMolioPreviewWithLayoutProps extends BaseFlowMolioPreviewProps { layout: Layout; blueprint?: never; } interface FlowMolioPreviewWithBlueprintProps extends BaseFlowMolioPreviewProps { blueprint: Blueprint; layout?: never; } type FlowMolioPreviewProps = FlowMolioPreviewWithLayoutProps | FlowMolioPreviewWithBlueprintProps; export declare const FlowMolioPreview: React.FC<FlowMolioPreviewProps>; export {};