mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-17 15:46:36 +00:00
11 lines
296 B
JavaScript
11 lines
296 B
JavaScript
import { h, render } from 'preact';
|
|
import Automation from './automation';
|
|
|
|
window.AutomationEditor = function (mountEl, props, mergeEl) {
|
|
return render(h(Automation, props), mountEl, mergeEl);
|
|
};
|
|
|
|
window.unmountPreact = function (mountEl, mergeEl) {
|
|
render(() => null, mountEl, mergeEl);
|
|
};
|