📝 API 文档
mincu-hooks

mincu-hooks

Functions

useAppReady

useAppReady(reject?): boolean

Parameters

NameType
reject?() => void

Returns

boolean


useNativeState

useNativeState<T>(key): States[T]

返回 app 的状态

Type parameters

NameType
Textends keyof States

Parameters

NameType
keyT

Returns

States[T]


useSafeArea

useSafeArea(): EdgeInsets

Returns

EdgeInsets