Skip to content

Commit 351f208

Browse files
author
Shi Shu
committed
Update readme with new config
1 parent 8fa8059 commit 351f208

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,6 +2028,13 @@ That way, both are visible and don't overlap each other.
20282028

20292029
This functionality is powered by [patch-console](https://github.com/vadimdemedes/patch-console), so if you need to disable Ink's interception of output but want to build something custom, you can use that.
20302030

2031+
###### onRender
2032+
2033+
Type: `(renderTime: number) => void`\
2034+
Default: `undefined`
2035+
2036+
Runs the given callback after each render and re-render with the time taken for the rendering.
2037+
20312038
###### debug
20322039

20332040
Type: `boolean`\

0 commit comments

Comments
 (0)