@lynx-js/react / useGlobalProps
函数: useGlobalProps()
A React Hooks for you to get lynx.__globalProps.
If lynx.__globalProps is changed, a re-render will be triggered automatically.
返回
示例
定义于
@lynx-js/react/runtime/lib/lynx-api.d.ts:192
@lynx-js/react / useGlobalProps
A React Hooks for you to get lynx.__globalProps.
If lynx.__globalProps is changed, a re-render will be triggered automatically.
@lynx-js/react/runtime/lib/lynx-api.d.ts:192