Skip to content

Commit

Permalink
feat(uac): add AdInterstitial
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Sep 1, 2024
1 parent 590a6f8 commit be449b6
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 { AdInterstitialProps } from "@uni-helper/uni-app-types";
defineOptions({
name: "AdInterstitial",
});
const props = defineProps<AdInterstitialProps>();
</script>

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

export default AdInterstitial;

export { AdInterstitial, type AdInterstitialInstance };
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 @@ -2,5 +2,6 @@ export * from "./AdContentPage";
export * from "./AdDraw";
export * from "./AdFullscreenVideo";
export * from "./AdInteractive";
export * from "./AdInterstitial";
export * from "./View";
export * from "./Input";

0 comments on commit be449b6

Please sign in to comment.