mol_wire_lib 1.0.130 → 1.0.133

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/node.test.js CHANGED
@@ -2223,8 +2223,8 @@ var $;
2223
2223
  $mol_assert_equal(dom.outerHTML, '<div>hello<strong>world</strong>!</div>');
2224
2224
  },
2225
2225
  'Function as component'() {
2226
- const Button = ({ hint }, target) => {
2227
- return $mol_jsx("button", { title: hint }, target());
2226
+ const Button = (props, target) => {
2227
+ return $mol_jsx("button", { title: props.hint }, target());
2228
2228
  };
2229
2229
  const dom = $mol_jsx(Button, { id: "/foo", hint: "click me" }, () => 'hey!');
2230
2230
  $mol_assert_equal(dom.outerHTML, '<button title="click me" id="/foo">hey!</button>');