Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Jul 16, 2024
1 parent 6612f76 commit 8c4a090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/addon.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Input from 'rc-input';
import type { FC } from 'react';
import React from 'react';
import '../../assets/index.less';
import Input from 'rc-input';

const Demo: FC = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion tests/BaseInput.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('BaseInput', () => {
it('support onClear', () => {
const onClear = jest.fn();
const { container } = render(
<BaseInput onClear={onClear} allowClear>
<BaseInput prefixCls="rc-input" onClear={onClear} allowClear>
<input value="test" />
</BaseInput>,
);
Expand Down

0 comments on commit 8c4a090

Please sign in to comment.