We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68f3d39 commit 7739165Copy full SHA for 7739165
1 file changed
doc/handbook/JSX.md
@@ -123,7 +123,7 @@ interface FooProp {
123
124
declare function AnotherComponent(prop: {name: string});
125
function ComponentFoo(prop: FooProp) {
126
- return <AnotherComponent name=prop.name />;
+ return <AnotherComponent name={prop.name} />;
127
}
128
129
const Button = (prop: {value: string}, context: { color: string }) => <button>
0 commit comments