How to use the workflow-react.render function in workflow-react

To help you get started, we’ve selected a few workflow-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github havardh / workflow / packages / workflow-app-terminal / flows / Example.js View on Github external
/* eslint-env node */
import { basename } from 'path';
import React from 'react';
import { render, Workspace, requireComponent } from 'workflow-react';

const { Terminal } = requireComponent('workflow-app-terminal');

export const flow = render(
  
    
  
);
github havardh / workflow / packages / workflow-app-notepad / flows / Example.js View on Github external
/* eslint-env node */
import React from 'react';
import { render, Workspace, requireComponent } from 'workflow-react';

const { Notepad } = requireComponent('workflow-app-notepad');

export const flow = render(
  
    
  
);
github havardh / workflow / packages / workflow-app-chrome / flows / Example.js View on Github external
/* eslint-env node */
import React from 'react';
import { render, Workspace, requireComponent } from 'workflow-react';

const { Chrome } = requireComponent('workflow-app-chrome');

export const flow = render(
  
    
  
);
github havardh / workflow / packages / workflow-app-less / flows / Example.js View on Github external
/* eslint-env node */
import React from 'react';
import { render, Workspace, requireComponent } from 'workflow-react';

const { Terminal } = requireComponent('workflow-app-terminal');
const { Less } = requireComponent('workflow-app-less');

export const flow = render(
  
    
      
    
  
);
github havardh / workflow / packages / workflow-app-slack / flows / Example.js View on Github external
/* eslint-env node */
import React from 'react';
import { render, Workspace, requireComponent } from 'workflow-react';

const { Slack } = requireComponent('workflow-app-slack');

export const flow = render(
  
    
  
);

workflow-react

This module contains a [react](https://github.com/facebook/react) binding library for writing workflow configuration files. The example below shows how to configure a 50-50 split between a text editor and a browser.

MIT
Latest version published 6 years ago

Package Health Score

42 / 100
Full package analysis