bobe 0.0.71 → 0.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2770,8 +2770,11 @@ function bobe(fragments, ...values) {
2770
2770
  }
2771
2771
  function customRender(option) {
2772
2772
  const mw = new Mw();
2773
- function render(Ctor, root) {
2773
+ function render(Ctor, root, options = {}) {
2774
2774
  const store = Ctor.new();
2775
+ if (options.props) {
2776
+ Object.assign(store, options.props);
2777
+ }
2775
2778
  const tokenizer = store.ui(false);
2776
2779
  const terp = new Interpreter(tokenizer);
2777
2780
  terp.config(option);
@@ -2891,6 +2894,7 @@ Object.defineProperty(exports, "Store", {
2891
2894
  });
2892
2895
  exports.Compiler = Compiler;
2893
2896
  exports.FakeType = FakeType;
2897
+ exports.Interpreter = Interpreter;
2894
2898
  exports.Mw = Mw;
2895
2899
  exports.MwCtx = MwCtx;
2896
2900
  exports.NodeType = NodeType;