Skip to content

Commit

Permalink
doc: replace ref
Browse files Browse the repository at this point in the history
  • Loading branch information
brickspert committed Nov 5, 2021
1 parent 236b4fb commit 01b4299
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/hooks/src/useAntdTable/demo/cache.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Button, Col, Form, Input, Row, Table, Select } from 'antd';
import useAntdTable from '../';
import { useAntdTable } from 'ahooks';

const { Option } = Select;

Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useAntdTable/demo/form.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Button, Col, Form, Input, Row, Table, Select } from 'antd';
import useAntdTable from '../';
import { useAntdTable } from 'ahooks';

const { Option } = Select;

Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useAntdTable/demo/init.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Button, Col, Form, Input, Row, Table, Select } from 'antd';
import useAntdTable from '../';
import { useAntdTable } from 'ahooks';

const { Option } = Select;

Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useAntdTable/demo/table.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Table } from 'antd';
import React from 'react';
import useAntdTable from '../';
import { useAntdTable } from 'ahooks';

interface Item {
name: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useAntdTable/demo/validate.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Form, Input, Select, Table } from 'antd';
import React from 'react';
import useAntdTable from '../';
import { useAntdTable } from 'ahooks';

const { Option } = Select;

Expand Down
2 changes: 2 additions & 0 deletions packages/hooks/src/useAntdTable/index.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

# useAntdTable
2 changes: 1 addition & 1 deletion packages/hooks/src/useFusionTable/demo/cache.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Table, Pagination, Field, Form, Input, Button } from '@alifd/next';
import useFusionTable from '../';
import { useFusionTable } from 'ahooks';

interface Item {
name: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useFusionTable/demo/form.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Table, Pagination, Field, Form, Input, Button, Select, Icon } from '@alifd/next';
import useFusionTable from '../';
import { useFusionTable } from 'ahooks';

interface Item {
name: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useFusionTable/demo/init.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Field, Form, Icon, Input, Pagination, Select, Table } from '@alifd/next';
import React from 'react';
import useFusionTable from '../';
import { useFusionTable } from 'ahooks';

interface Item {
name: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useFusionTable/demo/table.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Pagination, Table } from '@alifd/next';
import React from 'react';
import useFusionTable from '../';
import { useFusionTable } from 'ahooks';

interface Item {
name: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useFusionTable/demo/validate.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Table, Pagination, Field, Form, Input, Select, Icon } from '@alifd/next';
import useFusionTable from '../';
import { useFusionTable } from 'ahooks';

interface Item {
name: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/default.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import useInfiniteScroll from '../';
import { useInfiniteScroll } from 'ahooks';

interface Result {
list: string[];
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/mutate.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import useInfiniteScroll from '../';
import { useInfiniteScroll } from 'ahooks';
import { useRequest } from '../../';

interface Result {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/reload.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import useInfiniteScroll from '../';
import { useInfiniteScroll } from 'ahooks';

interface Result {
list: string[];
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/useInfiniteScroll/demo/scroll.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useRef } from 'react';
import useInfiniteScroll from '../';
import { useInfiniteScroll } from 'ahooks';

interface Result {
list: string[];
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/usePagination/demo/demo1.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import usePagination from '../';
import { usePagination } from 'ahooks';
import { Pagination } from 'antd';
import Mock from 'mockjs';
import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/usePagination/demo/demo2.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Pagination } from 'antd';
import Mock from 'mockjs';
import React, { useEffect, useState } from 'react';
import usePagination from '../';
import { usePagination } from 'ahooks';

interface UserListItem {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/usePagination/demo/demo3.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import usePagination from '../';
import { usePagination } from 'ahooks';
import { useUpdateEffect } from 'ahooks';
import { Pagination } from 'antd';
import Mock from 'mockjs';
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/usePagination/demo/demo4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useBoolean, useUpdateEffect } from 'ahooks';
import { Pagination } from 'antd';
import Mock from 'mockjs';
import React, { useState } from 'react';
import usePagination from '../';
import { usePagination } from 'ahooks';

interface UserListItem {
id: string;
Expand Down

0 comments on commit 01b4299

Please sign in to comment.