bobe 0.0.72 → 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.
package/dist/bobe.esm.js CHANGED
@@ -2742,8 +2742,11 @@ function bobe(fragments, ...values) {
2742
2742
  }
2743
2743
  function customRender(option) {
2744
2744
  const mw = new Mw();
2745
- function render(Ctor, root) {
2745
+ function render(Ctor, root, options = {}) {
2746
2746
  const store = Ctor.new();
2747
+ if (options.props) {
2748
+ Object.assign(store, options.props);
2749
+ }
2747
2750
  const tokenizer = store.ui(false);
2748
2751
  const terp = new Interpreter(tokenizer);
2749
2752
  terp.config(option);