further updates
This commit is contained in:
parent
4b7270a855
commit
eb932770b3
|
@ -50,7 +50,13 @@
|
|||
): ComponentUsingState[] => {
|
||||
let foundComponents: ComponentUsingState[] = []
|
||||
|
||||
const eventHandlerProps = ["onClick", "onChange", "onRowClick"]
|
||||
const eventHandlerProps = [
|
||||
"onClick",
|
||||
"onChange",
|
||||
"onRowClick",
|
||||
"onChange",
|
||||
"buttonOnClick",
|
||||
]
|
||||
|
||||
eventHandlerProps.forEach(eventType => {
|
||||
const handlers = component[eventType]
|
||||
|
@ -164,7 +170,7 @@
|
|||
if (!stateKey || !$selectedScreen?.props) {
|
||||
return
|
||||
}
|
||||
console.log($selectedScreen.props)
|
||||
|
||||
componentsUsingState = findComponentsUsingState(
|
||||
$selectedScreen.props,
|
||||
stateKey
|
||||
|
|
Loading…
Reference in New Issue