Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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%');
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%');