Skip to content

Commit c80658e

Browse files
authored
fix: incorrect signature in API
1 parent 4143046 commit c80658e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Toppy.config(config:ToppyConfig):Toppy
340340

341341
Toppy.content(data: ContentData, props: ContentProps = {}):Toppy
342342

343-
Toppy.create(position:Position,config:ToppyConfig):ToppyControl
343+
Toppy.create(key: string = ''):ToppyControl
344344

345345
Toppy.getCtrl(id:string):ToppyControl
346346

0 commit comments

Comments
 (0)