Skip to content

Commit

Permalink
feat. support typescript typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrixbirds committed May 15, 2019
1 parent 57c182e commit b52c234
Show file tree
Hide file tree
Showing 8 changed files with 1,003 additions and 7,662 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ xcuserdata*
samples/**/package-lock.json
*.iml
android/bin
yarn.lock
package-lock.json
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ proguard-rules.pro
.vscode
package-lock.json
android/bin
lib/**/*.ts.map
23 changes: 23 additions & 0 deletions lib/AgoraView.native.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from 'react';
import { AgoraViewProps } from "./types.d";
/**
* AgoraView is the render layer for rendering video stream
*
* This class is used to rendering native sdk stream
*
* @props {@link AgoraViewProps}
*/
export default class AgoraView extends React.Component<AgoraViewProps> {
/**
* render
*
* It would render view for VideoStream
*/
render(): JSX.Element;
/**
* getHTMLProps
*
* get agora view props
*/
private getHTMLProps;
}
Loading

0 comments on commit b52c234

Please sign in to comment.