File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
packages/uni-app-components/src/components Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ import type { AdProps } from " @uni-helper/uni-app-types" ;
3
+
4
+ defineOptions ({
5
+ name: " Ad" ,
6
+ });
7
+
8
+ const props = defineProps <AdProps >();
9
+ </script >
10
+
11
+ <template >
12
+ <ad :props >
13
+ <slot ></slot >
14
+ </ad >
15
+ </template >
Original file line number Diff line number Diff line change
1
+ import type { AdInstance } from "@uni-helper/uni-app-types" ;
2
+ import Ad from "./Ad.vue" ;
3
+
4
+ export default Ad ;
5
+
6
+ export { Ad , type AdInstance } ;
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ export * from "./AdFullscreenVideo";
4
4
export * from "./AdInteractive" ;
5
5
export * from "./AdInterstitial" ;
6
6
export * from "./AdRewardedVideo" ;
7
+ export * from "./Ad" ;
7
8
export * from "./View" ;
8
9
export * from "./Input" ;
You can’t perform that action at this time.
0 commit comments