26 lines
467 B
Vue
26 lines
467 B
Vue
|
|
<script>
|
||
|
|
import { defineComponent, h, resolveComponent } from "vue";
|
||
|
|
export default defineComponent({
|
||
|
|
props: {
|
||
|
|
/**
|
||
|
|
* A slot name or function
|
||
|
|
*/
|
||
|
|
use: {
|
||
|
|
type: Function,
|
||
|
|
default: void 0
|
||
|
|
},
|
||
|
|
/**
|
||
|
|
* Tags to unwrap separated by spaces
|
||
|
|
* Example: 'ul li'
|
||
|
|
*/
|
||
|
|
unwrap: {
|
||
|
|
type: [Boolean, String],
|
||
|
|
default: false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
render(props) {
|
||
|
|
return h(resolveComponent("MDCSlot"), props);
|
||
|
|
}
|
||
|
|
});
|
||
|
|
</script>
|