19 lines
476 B
JavaScript
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'),
|
|
};
|