import React from 'react'; import { ViewProps } from 'remax/one'; export interface Props extends ViewProps { /** * 显示的内容,只支持行内样式 */ children?: React.ReactElement; /** * web端跳转需要这个,小程序gh_开头的账号原始id */ username?: string; /** * 跳转路径 */ path?: string; /** * 小程序端跳转需要这个,小程序的appId */ appId?: string; /** * 打开成功事件 */ onLaunch?: (e: any) => void; /** * 打开小程序的环境 * @default 当前环境 */ envVersion?: 'develop' | 'release' | 'trial'; } declare const _default: ({ children, username, path, id, className, onLaunch, appId, envVersion, ...props }: Props) => React.JSX.Element; export default _default;