Skip to content

Commit 753606a

Browse files
committed
feat(uni-app-components): add AdDraw
1 parent c5c5ae2 commit 753606a

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<script setup lang="ts">
2+
import type { AdDrawProps } from "@uni-helper/uni-app-types";
3+
4+
defineOptions({
5+
name: "AdDraw",
6+
});
7+
8+
const props = defineProps<AdDrawProps>();
9+
</script>
10+
11+
<template>
12+
<ad-draw :props></ad-draw>
13+
</template>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import type { AdDrawInstance } from "@uni-helper/uni-app-types";
2+
import AdDraw from "./AdDraw.vue";
3+
4+
export default AdDraw;
5+
6+
export { AdDraw, type AdDrawInstance };
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from "./AdContentPage";
2+
export * from "./AdDraw";
23
export * from "./View";
34
export * from "./Input";

0 commit comments

Comments
 (0)