Skip to content

Commit fd2ec1b

Browse files
committed
feat(timeline): add typedocs
1 parent 337cdfb commit fd2ec1b

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

packages/paste-core/components/timeline/type-docs.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,13 @@
21942194
"required": false,
21952195
"externalProp": true
21962196
},
2197+
"disabled": {
2198+
"type": "boolean",
2199+
"defaultValue": false,
2200+
"required": false,
2201+
"externalProp": false,
2202+
"description": "If true, the timeline item will be disabled"
2203+
},
21972204
"draggable": {
21982205
"type": "Booleanish",
21992206
"defaultValue": null,
@@ -2433,10 +2440,11 @@
24332440
"externalProp": true
24342441
},
24352442
"onClick": {
2436-
"type": "MouseEventHandler<HTMLLIElement>",
2437-
"defaultValue": null,
2443+
"type": "MouseEventHandler<HTMLButtonElement> &\n MouseEventHandler<HTMLLIElement>",
2444+
"defaultValue": "undefined",
24382445
"required": false,
2439-
"externalProp": true
2446+
"externalProp": false,
2447+
"description": "Add an action to the timeline item."
24402448
},
24412449
"onClickCapture": {
24422450
"type": "MouseEventHandler<HTMLLIElement>",
@@ -3923,6 +3931,13 @@
39233931
"required": false,
39243932
"externalProp": true
39253933
},
3934+
"disabled": {
3935+
"type": "boolean",
3936+
"defaultValue": false,
3937+
"required": false,
3938+
"externalProp": false,
3939+
"description": "If true, the timeline item will be disabled"
3940+
},
39263941
"draggable": {
39273942
"type": "Booleanish",
39283943
"defaultValue": null,
@@ -4162,10 +4177,11 @@
41624177
"externalProp": true
41634178
},
41644179
"onClick": {
4165-
"type": "MouseEventHandler<HTMLLIElement>",
4166-
"defaultValue": null,
4180+
"type": "MouseEventHandler<HTMLButtonElement> &\n MouseEventHandler<HTMLLIElement>",
4181+
"defaultValue": "undefined",
41674182
"required": false,
4168-
"externalProp": true
4183+
"externalProp": false,
4184+
"description": "Add an action to the timeline item."
41694185
},
41704186
"onClickCapture": {
41714187
"type": "MouseEventHandler<HTMLLIElement>",

0 commit comments

Comments
 (0)