Skip to content

Commit

Permalink
docs: fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jan 27, 2025
1 parent b585df1 commit 12f3c87
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/examples/addon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Input from 'rc-input';
import Input from '@rc-component/input';
import type { FC } from 'react';
import React from 'react';
import '../../assets/index.less';
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/allow-clear.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ChangeEvent, FC } from 'react';
import React, { useState } from 'react';
import '../../assets/index.less';
import Input from 'rc-input';
import Input from '@rc-component/input';

const Demo: FC = () => {
const [value, setValue] = useState<string>('');
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { FC } from 'react';
import React from 'react';
import '../../assets/index.less';
import Input from 'rc-input';
import Input from '@rc-component/input';

const Demo: FC = () => (
<Input prefixCls="rc-input" style={{ marginLeft: 200 }} />
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/prefix-suffix.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Input from 'rc-input';
import Input from '@rc-component/input';
import type { FC } from 'react';
import React from 'react';
import '../../assets/index.less';
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/show-count.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Input from 'rc-input';
import Input from '@rc-component/input';
import type { FC } from 'react';
import React from 'react';
import '../../assets/index.less';
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"paths": {
"@/*": ["src/*"],
"@@/*": [".dumi/tmp/*"],
"rc-input": ["src/index.tsx"],
"@rc-component/input": ["src/index.tsx"]
}
},
Expand Down

0 comments on commit 12f3c87

Please sign in to comment.