github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/ui/dashboard/src/components/dashboards/flows/Sankey/index.tsx (about)

     1  import Flow from "../Flow";
     2  import { FlowProps, IFlow } from "../types";
     3  import { registerFlowComponent } from "../index";
     4  
     5  const Sankey = (props: FlowProps) => <Flow {...props} />;
     6  
     7  const definition: IFlow = {
     8    type: "sankey",
     9    component: Sankey,
    10  };
    11  
    12  registerFlowComponent(definition.type, definition);
    13  
    14  export default definition;