Chatwoot/app/javascript/shared/components/CustomerSatisfaction.stories.js
2022-07-08 21:19: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'),
};