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