We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6323f commit a0a60eeCopy full SHA for a0a60ee
2 files changed
packages/babel-plugin-jsx/README-zh_CN.md
@@ -213,6 +213,23 @@ const App = {
213
return () => <A v-slots={slots} />;
214
}
215
};
216
+
217
+// or
218
+const App = {
219
+ setup() {
220
+ return () => (
221
+ <>
222
+ <A>
223
+ {
224
+ default: () => <div>A</div>,
225
+ foo: () => <span>B</span>
226
+ }
227
+ </A>
228
+ <B>{() => 'foo'}</B>
229
+ </>
230
+ );
231
232
+}
233
```
234
235
### 在 TypeSript 中使用
packages/babel-plugin-jsx/README.md
### In TypeScript
0 commit comments