Chatwoot/app/javascript/shared/components/CustomerSatisfaction.stories.js
2021-06-22 13:01:19 +05:30

19 lines
476 B
JavaScript

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'),
};