Skip to content

Commit

Permalink
Migrate from <ArgsTable /> → <Controls />
Browse files Browse the repository at this point in the history
  • Loading branch information
acusti committed Sep 19, 2023
1 parent a2a57d3 commit 7ef0794
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions packages/docs/stories/CSSValueInput.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import CSSValueInput from '@acusti/css-value-input';
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs';
import { Canvas, Story } from '@storybook/addon-docs';
import { Meta, Controls } from '@storybook/blocks';

import './CSSValueInput.css';

Expand Down Expand Up @@ -171,4 +172,4 @@ then through the rest.
</Story>
</Canvas>

<ArgsTable of={CSSValueInput} />
<Controls />
7 changes: 4 additions & 3 deletions packages/docs/stories/Dropdown.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import CSSValueInput from '@acusti/css-value-input';
import Dropdown from '@acusti/dropdown';
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs';
import {Fragment} from 'react';
import { Canvas, Story } from '@storybook/addon-docs';
import { Meta, Controls } from '@storybook/blocks';
import { Fragment } from 'react';

import './Dropdown.css';

Expand Down Expand Up @@ -391,4 +392,4 @@ of macOS.
</Story>
</Canvas>

<ArgsTable of={Dropdown} />
<Controls />
5 changes: 3 additions & 2 deletions packages/docs/stories/InputText.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import InputText from '@acusti/input-text';
import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs';
import { Canvas, Story } from '@storybook/addon-docs';
import { Meta, Controls } from '@storybook/blocks';

import './InputText.css';

Expand Down Expand Up @@ -63,4 +64,4 @@ selects the entire contents of the input whenever the input is focused.
</Story>
</Canvas>

<ArgsTable of={InputText} />
<Controls />

0 comments on commit 7ef0794

Please sign in to comment.