Skip to content

Commit

Permalink
robotrix: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
AviVahl committed Feb 4, 2020
1 parent a0e9a9d commit 3919a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/robotrix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Adds meta-data which is used by `React` for development error messages.

It adds the following attributes to all JSX elements:
- `__self={this}`
- `__source={{ fileName: __jsxFileName, lineNumber: [jsx line number] }}`
- `__source={{ fileName: __jsxFileName, lineNumber: [jsx line number], pos: [jsx node position], end: [jsx node end] }}`

if `__source` was added, the following declaration is prepended to source file: `const __jsxFileName = [absolute file path]`

Expand Down

0 comments on commit 3919a97

Please sign in to comment.