mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			478 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			478 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <woot-button
 | 
						|
    :size="size"
 | 
						|
    variant="clear"
 | 
						|
    color-scheme="secondary"
 | 
						|
    class="-ml-3 text-black-900 dark:text-slate-300"
 | 
						|
    icon="list"
 | 
						|
    @click="onMenuItemClick"
 | 
						|
  />
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
import { BUS_EVENTS } from 'shared/constants/busEvents';
 | 
						|
 | 
						|
export default {
 | 
						|
  props: {
 | 
						|
    size: {
 | 
						|
      type: String,
 | 
						|
      default: 'small',
 | 
						|
    },
 | 
						|
  },
 | 
						|
  methods: {
 | 
						|
    onMenuItemClick() {
 | 
						|
      bus.$emit(BUS_EVENTS.TOGGLE_SIDEMENU);
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 |