14 行
286 B
Plaintext
14 行
286 B
Plaintext
/**
|
|
* 原生组件的上下文对象
|
|
*/
|
|
export interface INativeButtonContext {
|
|
/**
|
|
* 更新文本示例
|
|
*/
|
|
updateText(text : string) : void
|
|
}
|
|
|
|
export type CreateNativeButtonContext = (
|
|
id : string,
|
|
component ?: ComponentPublicInstance | null
|
|
) => INativeButtonContext | null; |