docs: update RAEDME

This commit is contained in:
Amour1688 2020-12-13 11:48:41 +08:00
parent cf25aa0b65
commit 86c0912bad
2 changed files with 4 additions and 4 deletions

View File

@ -258,10 +258,10 @@ const App = {
return () => ( return () => (
<> <>
<A> <A>
{ {{
default: () => <div>A</div>, default: () => <div>A</div>,
foo: () => <span>B</span> foo: () => <span>B</span>
} }}
</A> </A>
<B>{() => 'foo'}</B> <B>{() => 'foo'}</B>
</> </>

View File

@ -258,10 +258,10 @@ const App = {
return () => ( return () => (
<> <>
<A> <A>
{ {{
default: () => <div>A</div>, default: () => <div>A</div>,
foo: () => <span>B</span> foo: () => <span>B</span>
} }}
</A> </A>
<B>{() => 'foo'}</B> <B>{() => 'foo'}</B>
</> </>