(
GateComponent: Gate<Props>,
props: Props = {} as any,
)
| 91 | |
| 92 | /** useGate wrapper for scopes */ |
| 93 | export function useGate<Props>( |
| 94 | GateComponent: Gate<Props>, |
| 95 | props: Props = {} as any, |
| 96 | ) { |
| 97 | return useGateBase(GateComponent, props, getScope(true)) |
| 98 | } |
searching dependent graphs…