tab-pane.vue 465 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div class="m-tab-pane">
  3. <slot></slot>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: "mTabPane"
  9. };
  10. </script>
  11. <script setup>
  12. import { computed,inject } from 'vue-demi';
  13. const props = defineProps({
  14. name: {
  15. type: String,
  16. default: '',
  17. },
  18. label: {
  19. type: String,
  20. default: '',
  21. },
  22. icon: {
  23. type: String,
  24. },
  25. disabled:{
  26. type: Boolean,
  27. default:false
  28. },
  29. })
  30. </script>
  31. <style lang="scss" scoped>
  32. </style>