Skip to content

Conversation

@user91123
Copy link
Collaborator

  • Скриншоты локи не сделаны, тк локи локально не смог запустить

@user91123 user91123 added review the task is currently being reviewed tests Writing tests labels Feb 4, 2026
argTypes: {
icon: {
control: 'select',
options: [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Тут можешь вместо массива указать Object.keys(icons). icons из соседнего файла icons.ts

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сделал

},
});

export const ArrowRight: Story = createIconStory('arrowRight');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Не совсем так надо было. Сделать 1 сторю вместо всех что ниже
Назови ее All
Внутри createIconStory можешь просто промапать Object.keys(icons) и будет все красиво
Только отсортируй все иконки вначала по алфавиту
Цвета можешь не указывать, пускай по дефолту будут черные

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Исправил

@PerelomaDenis PerelomaDenis added comments Code improvements are required and removed review the task is currently being reviewed labels Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Code improvements are required tests Writing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants