mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
Fix: Remove antd from dataset-page (#8830)
### What problem does this PR solve? remove antd from dataset-page [#3221](https://github.com/infiniflow/ragflow/issues/3221) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -6,11 +6,12 @@ type InputProps = React.ComponentProps<'input'> & {
|
||||
iconPosition?: 'left' | 'right';
|
||||
};
|
||||
|
||||
function Input({
|
||||
const Input = function ({
|
||||
className,
|
||||
type,
|
||||
icon,
|
||||
iconPosition = 'left',
|
||||
ref,
|
||||
...props
|
||||
}: InputProps) {
|
||||
return (
|
||||
@ -27,6 +28,7 @@ function Input({
|
||||
</div>
|
||||
)}
|
||||
<input
|
||||
ref={ref}
|
||||
type={type}
|
||||
data-slot="input"
|
||||
className={cn(
|
||||
@ -45,6 +47,6 @@ function Input({
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export { Input };
|
||||
|
||||
Reference in New Issue
Block a user