Skip to content

Commit

Permalink
Update ts component docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Apr 27, 2022
1 parent 79bcd41 commit f438cf8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('Test Typescript component metadata generation', () => {
expect(R.path([componentName, 'description'], metadata)).toBe(
'Description\n' +
'Example:\n```\n' +
'@app.callback("clicks@btn")\n' +
'@app.callback(...)\n' +
'def on_click(*args):\n' +
' return 1\n' +
'```'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {TypescriptComponentProps} from '../props';
* Description
* Example:
* ```
* @app.callback("clicks@btn")
* @app.callback(...)
* def on_click(*args):
* return 1
* ```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {TypescriptComponentProps} from '../props';
* Description
* Example:
* ```
* @app.callback("clicks@btn")
* @app.callback(...)
* def on_click(*args):
* return 1
* ```
Expand Down

0 comments on commit f438cf8

Please sign in to comment.