This commit is contained in:
hamid zarghami
2025-09-30 11:22:15 +03:30
parent 2395890e6c
commit 3a5d38fe33
10 changed files with 538 additions and 4 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ type Props = {
error_text?: string,
placeholder?: string,
label?: string,
value?: any,
value?: string,
} & SelectHTMLAttributes<HTMLSelectElement>
const Select: FC<Props> = (props: Props) => {
@@ -26,7 +26,7 @@ const Select: FC<Props> = (props: Props) => {
</label>
}
<select {...props} className={clx(
'w-full text-black block border appearance-none border-border px-2.5 h-10 text-sm rounded-2.5 bg-gray',
'w-full text-black block border appearance-none border-border px-[10px] h-10 text-sm rounded-[10px] bg-white',
props.className,
props.label && 'mt-1'
)}>