storybook/app/riot/src/client/preview/rendering/compiledButUnmounted.js

6 lines
155 B
JavaScript

import { mount } from 'riot';
export default function renderCompiledButUnmounted(component) {
mount('root', component.tagName, component.opts || {});
}