mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	 fe2af370e0
			
		
	
	fe2af370e0
	
	
	
		
			
			* Feat: Show notes panel on CRM page Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			447 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			447 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { action } from '@storybook/addon-actions';
 | |
| import AddNote from '../components/AddNote.vue';
 | |
| 
 | |
| export default {
 | |
|   title: 'Components/Notes/Add',
 | |
|   component: AddNote,
 | |
|   argTypes: {},
 | |
| };
 | |
| 
 | |
| const Template = (args, { argTypes }) => ({
 | |
|   props: Object.keys(argTypes),
 | |
|   components: { AddNote },
 | |
|   template: '<add-note v-bind="$props" @add="onAdd"></add-note>',
 | |
| });
 | |
| 
 | |
| export const Add = Template.bind({});
 | |
| Add.args = {
 | |
|   onAdd: action('Added'),
 | |
| };
 |