vitepress-mermaid-preview
Version:
Mermaid preview for vitepress
16 lines (15 loc) • 317 B
JavaScript
import { _ as s } from "./component-CJYcFyxT.js";
var t, e = (t = class {
/**
* @param init - Function that creates the default state.
*/
constructor(i) {
this.init = i, this.records = this.init();
}
reset() {
this.records = this.init();
}
}, s(t, "ImperativeState"), t);
export {
e as I
};