mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
simplify test config (#639)
This commit is contained in:
16
test/components/notice-bar.vue
Normal file
16
test/components/notice-bar.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<div class="notice-bar-container" style="width: 100px;">
|
||||
<van-notice-bar :speed="speed" :text="text" :mode="mode" :delay="delay" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NoticeBar from 'packages/notice-bar';
|
||||
export default {
|
||||
components: {
|
||||
[NoticeBar.name]: NoticeBar
|
||||
},
|
||||
props: ['speed', 'text', 'mode', 'delay']
|
||||
};
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user