Skip to content

Commit 2abed89

Browse files
committed
docs(stories): fix deprecated improt
1 parent fdc3639 commit 2abed89

20 files changed

+123
-125
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Client vs Server/FAQ" />

.storybook/stories/Compact/tutorials.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Compact Table/Tutorials" />
44

.storybook/stories/Crud/faq.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="CRUD/FAQ" />

.storybook/stories/FirstSteps/faq.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="First Steps/FAQ" />
44

.storybook/stories/Introduction/faq.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Getting Started/FAQ" />
44

.storybook/stories/Introduction/installation.story.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Getting Started/Installation" />
44

@@ -47,7 +47,7 @@ yarn add @table-library/react-table-library @emotion/react
4747

4848
## Usage
4949

50-
* **[Demo](https://react-tables.com/)**
50+
- **[Demo](https://react-tables.com/)**
5151

5252
```javascript
5353
import { CompactTable } from '@table-library/react-table-library/compact';
@@ -61,7 +61,7 @@ const nodes = [
6161
isComplete: true,
6262
nodes: 3,
6363
},
64-
]
64+
];
6565

6666
const COLUMNS = [
6767
{ label: 'Task', renderCell: (item) => item.name },
@@ -97,10 +97,10 @@ You find yourself looking for a fitting table component which solves your proble
9797

9898
In 2020, [Robin Wieruch](https://www.robinwieruch.de) created React Table Library in collaboration with [Big Ladder Software](https://bigladdersoftware.com/). After working with different table libraries to fit their needs, they decided to roll their own solution with the following subjects in mind ...
9999

100-
* **Composition over Configuration:** React Table Library is built with <a href="https://www.robinwieruch.de/react-component-composition/">composition</a> in mind. Forget about all the table components which need huge configuration objects.
101-
* **Feature Rich:** Whether you are looking for bulk selecting, paginated fetches or a tree table, React Table Library comes with lots of advanced features.
102-
* **Highly Customisable:** React Table Library attempts to give you freedom on how to compose your table. From providing your own icon to using a button in a table cell, you gain full control about what's getting rendered.
103-
* **Server-Side as First-Class Citizen:** React Table Library is built with server-side capabilities in mind, because fetching all data at once and doing only client-side operations should not be the status quo for modern applications.
100+
- **Composition over Configuration:** React Table Library is built with <a href="https://www.robinwieruch.de/react-component-composition/">composition</a> in mind. Forget about all the table components which need huge configuration objects.
101+
- **Feature Rich:** Whether you are looking for bulk selecting, paginated fetches or a tree table, React Table Library comes with lots of advanced features.
102+
- **Highly Customisable:** React Table Library attempts to give you freedom on how to compose your table. From providing your own icon to using a button in a table cell, you gain full control about what's getting rendered.
103+
- **Server-Side as First-Class Citizen:** React Table Library is built with server-side capabilities in mind, because fetching all data at once and doing only client-side operations should not be the status quo for modern applications.
104104

105105
## How is this different from other React Table Libraries?
106106

.storybook/stories/Theming/class.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Theming/CSS Class" />
44

.storybook/stories/Theming/imperative.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Theming/Imperative Style" />
44

.storybook/stories/Theming/themes.story.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Theming/Themes" />
44

.storybook/stories/Types/column-hiding.story.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { Meta } from '@storybook/addon-docs/blocks';
1+
import { Meta } from '@storybook/addon-docs';
22

33
<Meta title="Types/Column Hiding" />
44

55
# Column Hiding
66

77
```javascript
88
export type ColumnHideProps = {
9-
hideKey: string;
9+
hideKey: string,
1010
};
1111
```
1212

@@ -20,4 +20,4 @@ Access **all** types:
2020

2121
```javascript
2222
import * as TYPES from '@table-library/react-table-library/types';
23-
```
23+
```

0 commit comments

Comments
 (0)