Skip to content

Commit

Permalink
feat(uac): add AdRewardedVideo
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Sep 1, 2024
1 parent 0e76de1 commit 483bfcc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script setup lang="ts">
import type { AdRewardedVideoProps } from "@uni-helper/uni-app-types";
defineOptions({
name: "AdRewardedVideo",
});
const props = defineProps<AdRewardedVideoProps>();
</script>

<template>
<ad-rewarded-video :props>
<slot></slot>
</ad-rewarded-video>
</template>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { AdRewardedVideoInstance } from "@uni-helper/uni-app-types";
import AdRewardedVideo from "./AdRewardedVideo.vue";

export default AdRewardedVideo;

export { AdRewardedVideo, type AdRewardedVideoInstance };
1 change: 1 addition & 0 deletions packages/uni-app-components/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export * from "./AdDraw";
export * from "./AdFullscreenVideo";
export * from "./AdInteractive";
export * from "./AdInterstitial";
export * from "./AdRewardedVideo";
export * from "./View";
export * from "./Input";

0 comments on commit 483bfcc

Please sign in to comment.