Skip to content

Commit 28304d7

Browse files
committed
chore: update import path
1 parent 4bca40e commit 28304d7

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

examples/basic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Dialog from 'rc-dialog';
2-
import 'rc-dialog/assets/index.css';
1+
import Dialog from '@rc-component/dialog';
2+
import '@rc-component/dialog/assets/index.css';
33
import React from 'react';
44
import '../assets/index.less';
55
import TreeSelect, { SHOW_PARENT, TreeNode } from '../src';

examples/controlled.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '../assets/index.less';
22
import React from 'react';
3-
import 'rc-dialog/assets/index.css';
3+
import '@rc-component/dialog/assets/index.css';
44
import TreeSelect, { TreeNode } from '../src';
55

66
class Demo extends React.Component {

examples/custom-icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '../assets/index.less';
22
import React from 'react';
3-
import 'rc-dialog/assets/index.css';
3+
import '@rc-component/dialog/assets/index.css';
44
import TreeSelect from '../src';
55
import { gData } from './utils/dataUtil';
66

examples/fieldNames.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '../assets/index.less';
22
import React from 'react';
3-
import 'rc-dialog/assets/index.css';
3+
import '@rc-component/dialog/assets/index.css';
44
import TreeSelect from '../src';
55

66
export default () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"husky": "^9.1.6",
7575
"lint-staged": "^15.2.10",
7676
"prettier": "^3.3.3",
77-
"rc-dialog": "^9.6.0",
77+
"@rc-component/dialog": "^1.2.0",
7878
"rc-field-form": "^2.4.0",
7979
"rc-test": "^7.1.1",
8080
"rc-virtual-list": "^3.14.8",

tests/Select.props.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-undef, react/no-multi-comp, no-console */
22
import { mount } from 'enzyme';
3-
import Tree, { TreeNode } from 'rc-tree';
3+
import Tree, { TreeNode } from '@rc-component/tree';
44
import React from 'react';
55
import { render, fireEvent } from '@testing-library/react';
66

0 commit comments

Comments
 (0)