1 | import { ComponentType } from 'react'
|
2 | import { StandardProps } from './common'
|
3 | interface LifestyleProps extends StandardProps {
|
4 | /** 必填,生活号 ID(即生活号 APPID),必须是当前小程序同账号主体且已关联的生活号。
|
5 | * @supported alipay
|
6 | */
|
7 | publicId?: string
|
8 |
|
9 | /** 文案。支持商家自定义,最多展示一行。
|
10 | * @supported alipay
|
11 | */
|
12 | memo?: string
|
13 |
|
14 | /** 当用户关注生活号成功后执行。
|
15 | * @supported alipay
|
16 | */
|
17 | onFollow?: CommonEventFunction
|
18 | }
|
19 |
|
20 | /** 关注生活号
|
21 | * @classification open
|
22 | * @supported alipay
|
23 | * @see https://opendocs.alipay.com/mini/component/lifestyle
|
24 | */
|
25 | declare const Lifestyle: ComponentType<LifestyleProps>
|
26 | export { Lifestyle, LifestyleProps }
|