Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 4aebb6a

Browse files
committed
description for setProps - to reduce warnings
1 parent 1d64c8a commit 4aebb6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/generate-components.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ function generatePropTypes(element, attributes) {
192192
component_name: PropTypes.string,
193193
}),
194194
195+
/**
196+
* Dash-assigned callback that gets fired when the element is clicked.
197+
*/
195198
'setProps': PropTypes.func`
196199
}
197200

0 commit comments

Comments
 (0)