feat: Page Data Akun

This commit is contained in:
Hafid Nur
2025-03-27 16:55:54 +07:00
parent ec509a7b43
commit 39391e5522
3 changed files with 13 additions and 8 deletions
+2 -2
View File
@@ -45,14 +45,14 @@ export const Input: FC<TInputProps> = ({
};
const mergedClassName = cn(
'px-[12px] py-[8px] text-neutral-800 placeholder:text-neutral-300 border border-neutral-200 hover:border-blue-300 focus:outline-1 focus:outline-blue-500 rounded-md font-bai-jamjuree w-full',
'px-[12px] py-[8px] text-neutral-800 placeholder:text-neutral-300 border border-neutral-200 hover:border-blue-300 focus:outline-1 focus:outline-blue-500 rounded-md font-bai-jamjuree min-w-70',
sizeClasses[size].textSize,
disabled && disabledClass,
className
);
return (
<div className="relative inline-flex min-w-70 items-center">
<div className="relative flex items-center">
<input
className={mergedClassName}
type={type === 'password' && showPassword ? 'text' : type}
@@ -45,7 +45,7 @@ export const Pagination: FC<PaginationProps> = ({
};
return (
<div className="flex items-center justify-center mt-4 gap-[40px]">
<div className="flex items-center justify-center gap-[40px]">
<button
onClick={() => currentPage > 1 && onPageChange(currentPage - 1)}
disabled={currentPage === 1}