forked from NervJS/taro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(types): sync components types
- Loading branch information
1 parent
6b09635
commit b2b2daa
Showing
55 changed files
with
971 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { ComponentType } from 'react' | ||
import { StandardProps } from './common' | ||
interface ChannelLiveProps extends StandardProps { | ||
/** 视频 feedId | ||
* @supported weapp | ||
*/ | ||
feedId: string | ||
|
||
/** 视频号 id,以“sph”开头的id,可在视频号助手获取。视频号必须与当前小程序相同主体。 | ||
* @supported weapp | ||
*/ | ||
finderUserName: string | ||
} | ||
|
||
/** | ||
* 小程序内嵌视频号直播组件,展示视频号直播状态和封面,并无弹窗跳转至视频号。注意:使用该组件打开的视频号视频需要与小程序的主体一致。 | ||
* @classification media | ||
* @supported weapp | ||
* @see https://developers.weixin.qq.com/miniprogram/dev/component/channel-live.html | ||
*/ | ||
declare const ChannelLive: ComponentType<ChannelLiveProps> | ||
export { ChannelLive, ChannelLiveProps } |
Oops, something went wrong.