How to use the direflow-component.DireflowComponent function in direflow-component

To help you get started, we’ve selected a few direflow-component 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 Silind-Software / direflow / templates / ts / src / index.tsx View on Github external
import { DireflowComponent } from 'direflow-component';
import App from './direflow-component/App';

const direflowComponent = new DireflowComponent();

direflowComponent.setProperties({
  componentTitle: '%name-title%',
  sampleList: [
    'Create with React',
    'Build as Web Component',
    'Use it anywhere!',
  ],
});

direflowComponent.render(App, '%name-snake%');
github Silind-Software / direflow / templates / js / src / index.js View on Github external
import { DireflowComponent } from 'direflow-component';
import App from './direflow-component/App';

const direflowComponent = new DireflowComponent();

direflowComponent.setProperties({
  componentTitle: '%name-title%',
  sampleList: [
    'Create with React',
    'Build as Web Component',
    'Use it anywhere!',
  ],
});

direflowComponent.render(App, '%name-snake%');

direflow-component

Create Web Components using React

MIT
Latest version published 1 year ago

Package Health Score

54 / 100
Full package analysis

Popular direflow-component functions

Similar packages