Skip to content

Commit

Permalink
fix: rollback code;
Browse files Browse the repository at this point in the history
  • Loading branch information
denisx committed Dec 23, 2024
1 parent e840ca3 commit 4ffe442
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions packages/amount/src/docs/Component.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import type { Meta, StoryObj } from '@storybook/react';
import { select, boolean, number } from '@storybook/addon-knobs';
import { getAllCurrencyCodes } from '@alfalab/utils';
import { Container, Row, Col } from 'storybook/blocks/grid';
import { AmountComponent, Pure as AmountPure } from '@alfalab/core-components-amount';
import { Amount } from '@alfalab/core-components-amount';

const meta: Meta<typeof AmountComponent> = {
const meta: Meta<typeof Amount> = {
title: 'Components/Amount',
component: AmountComponent,
component: Amount,
id: 'Amount',
};

type Story = StoryObj<typeof AmountComponent>;
type Story = StoryObj<typeof Amount>;

const deprecatedCurrencies = ['RUR'];

Expand Down Expand Up @@ -49,7 +49,7 @@ export const amount: Story = {
</Row>
<Row>
<Col>
<AmountComponent
<Amount
value={value}
currency={currency}
minority={minority}
Expand All @@ -61,7 +61,7 @@ export const amount: Story = {
/>
</Col>
<Col>
<AmountPure
<Amount.Pure
value={value}
currency={currency}
minority={minority}
Expand Down
2 changes: 1 addition & 1 deletion packages/amount/src/docs/development.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgsTable } from '@storybook/addon-docs';
import { CssVars } from 'storybook/blocks';
import { Amount } from '..';
import { Amount } from '../index';
import styles from '!!raw-loader!../index.module.css';

## Подключение
Expand Down

0 comments on commit 4ffe442

Please sign in to comment.