naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
23 lines • 488 B
JavaScript
import { defineComponent, h } from 'vue';
export default defineComponent({
props: {
clsPrefix: {
type: String,
required: true
},
onClick: Function
},
render() {
const {
clsPrefix
} = this;
return h("div", {
onClick: this.onClick,
class: `${clsPrefix}-layout-toggle-bar`
}, h("div", {
class: `${clsPrefix}-layout-toggle-bar__top`
}), h("div", {
class: `${clsPrefix}-layout-toggle-bar__bottom`
}));
}
});