✨ feature: Scroll panel component added
This commit is contained in:
parent
e9247149fe
commit
2c6c693ceb
16
src/components/scrollpanel/VScrollpanel.vue
Normal file
16
src/components/scrollpanel/VScrollpanel.vue
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script setup lang="ts">
|
||||
import ScrollPanel from 'primevue';
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
step?: number
|
||||
height: string
|
||||
width?: string
|
||||
}>(), {
|
||||
step: 5,
|
||||
width: '100%'
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ScrollPanel :step="props.step" :style="{width: props.width, height: props.height}"/>
|
||||
</template>
|
Loading…
Reference in New Issue
Block a user