Skip to content

Commit

Permalink
react-jsx-source: add columnNumber property (#2178)
Browse files Browse the repository at this point in the history
* react-jsx-source: add column property

Docs PR to go with babel/babel#11139

* column -> columnNumber, make 1-based

Updated for babel/babel@9fb61dd
  • Loading branch information
motiz88 committed Mar 17, 2020
1 parent 7df721f commit b3609a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugin-transform-react-jsx-source.md
Expand Up @@ -15,7 +15,7 @@ sidebar_label: transform-react-jsx-source
**Out**

```
<sometag __source={ { fileName: 'this/file.js', lineNumber: 10 } } />
<sometag __source={ { fileName: 'this/file.js', lineNumber: 10, columnNumber: 1 } } />
```

## Installation
Expand Down

0 comments on commit b3609a8

Please sign in to comment.