2022-03-23 16:24:56 +01:00
|
|
|
import React from 'react';
|
2023-02-16 14:26:14 +01:00
|
|
|
import { ACTIVITY_ICONS } from './transaction-activity-log-icon.component';
|
2022-03-23 16:24:56 +01:00
|
|
|
import TransactionActivityLogIcon from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Components/App/TransactionActivityLog/TransactionActivityLogIcon',
|
2023-01-20 20:27:46 +01:00
|
|
|
|
2022-03-23 16:24:56 +01:00
|
|
|
argTypes: {
|
|
|
|
className: {
|
|
|
|
control: 'text',
|
|
|
|
},
|
|
|
|
eventKey: {
|
|
|
|
control: 'select',
|
2023-02-16 14:26:14 +01:00
|
|
|
options: Object.keys(ACTIVITY_ICONS),
|
2022-03-23 16:24:56 +01:00
|
|
|
},
|
|
|
|
},
|
2022-05-25 17:35:36 +02:00
|
|
|
args: {
|
2023-02-16 14:26:14 +01:00
|
|
|
eventKey: Object.keys(ACTIVITY_ICONS)[0],
|
2022-05-25 17:35:36 +02:00
|
|
|
},
|
2022-03-23 16:24:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export const DefaultStory = (args) => <TransactionActivityLogIcon {...args} />;
|
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|