UNPKG

@vnxjs/plugin-platform-qq

Version:
98 lines (85 loc) 3.05 kB
import { ComponentType } from 'react' import Component from '@vnxjs/components' declare module '@vnxjs/components' { export interface ButtonProps { /** * Applied package name (André.) * Time for entry into force:`open-type="launchApp"` * @supported qq * @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_app.html */ appPackagename?: string /** * Appliedbundleid (iOS) * Time for entry into force:`open-type="launchApp"` * @supported qq * @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_app.html */ appBundleid?: string /** * QQConnectedAppID * Time for entry into force:`open-type="launchApp"` * @supported qq * @see https://q.qq.com/wiki/develop/miniprogram/frame/open_ability/open_app.html */ appConnectId?: string /** * When opening group data card,The troupe number to pass. * Time for entry into force:`open-type="openGroupProfile"` * @supported qq */ groupId?: string /** * When you open the public ID card,,The number of the transmission. * Time for entry into force:`open-type="openPublicProfile"` * @supported qq >= 1.12.0 */ publicId?: string /** * Share Type Pool,Please refer to below.share-typeValid value statement。share-typeLater, no more maintenance.,Please update asshare-mode * Time for entry into force:`open-type="share"` * @default 27 * @supported qq >= 1.4.4 */ shareType?: number /** * Share Type Pool,Please refer to below.share-modeValid value statement * Time for entry into force:`open-type="share"` * @default ['qq', 'qzone'] * @supported qq >= 1.15.0 */ shareMode?: string[] /** * Accessibility,(Properties)Additional description of elements * @supported qq */ ariaLabel?: string /** * When adding a friend,They're from each other. openid * Time for entry into force:`open-type="addFriend"` * @supported qq */ openId?: string /** * Sending object FriendInfo * Time for entry into force:`open-type="shareMessageToFriend"` * @supported qq >= 1.17.0 */ shareMessageFriendInfo?: ButtonProps.FriendInfo /** * Add Friend 's Return * Time for entry into force:`open-type="addFriend"` * @supported qq */ onAddFriend?: Component.CommonEventFunction /** * Add echo for group application。errCode Error Code:41004(Current user is not an administrator or a group owner,Can not get folder: %s: %s),41005(More than the number of groups to add group applications) * Time for entry into force:`open-type="addGroupApp"` * @supported qq >= 1.16.0 */ onAddGroupApp?: Component.CommonEventFunction } namespace ButtonProps { type FriendInfo = any } }