Chatwoot/app/javascript/shared/components/CustomerSatisfaction.stories.js

20 lines
476 B
JavaScript
Raw Normal View History

import { action } from '@storybook/addon-actions';
import CustomerSatisfaction from './CustomerSatisfaction';
export default {
title: 'Components/CustomerSatisfaction',
component: CustomerSatisfaction,
argTypes: {},
};
const Template = (args, { argTypes }) => ({
props: Object.keys(argTypes),
components: { CustomerSatisfaction },
template: '<customer-satisfaction />',
});
export const item = Template.bind({});
item.args = {
onClick: action('Selected'),
};