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:
chanx
2025-07-15 16:12:50 +08:00
committed by GitHub
parent 148fde8b1b
commit ed8d7291ff
27 changed files with 916 additions and 460 deletions

View File

@ -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 };