@cascateer/core 2.0.5 → 2.0.7
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/package.json +1 -1
- package/src/jsx-dev-runtime.ts +1 -1
- package/src/jsx-runtime.ts +4 -4
package/package.json
CHANGED
package/src/jsx-dev-runtime.ts
CHANGED
package/src/jsx-runtime.ts
CHANGED
|
@@ -75,6 +75,9 @@ declare global {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
export const createFragment = ({ children }: JSX.IntrinsicAttributes) =>
|
|
79
|
+
new ObservableFragment(children);
|
|
80
|
+
|
|
78
81
|
export const createElement = (
|
|
79
82
|
component: JSX.Component | string,
|
|
80
83
|
attributes: JSX.IntrinsicAttributes | null,
|
|
@@ -188,9 +191,6 @@ export const createElement = (
|
|
|
188
191
|
}
|
|
189
192
|
};
|
|
190
193
|
|
|
191
|
-
export const
|
|
192
|
-
new ObservableFragment(children);
|
|
193
|
-
|
|
194
|
+
export const Fragment = createFragment;
|
|
194
195
|
export const jsx = createElement;
|
|
195
196
|
export const jsxs = createElement;
|
|
196
|
-
export const Fragment = createFragment;
|