Skip to content

Commit a76a499

Browse files
authored
fix: address input (#8349)
Signed-off-by: Udit Takkar <[email protected]>
1 parent b28d60b commit a76a499

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/ui/form/AddressInput.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Input } from "../components/form/inputs/Input";
12
import { MapPin } from "../components/icon";
23

34
export type AddressInputProps = {
@@ -12,15 +13,14 @@ export type AddressInputProps = {
1213
function AddressInput({ className = "", value, onChange, ...rest }: AddressInputProps) {
1314
return (
1415
<div className="relative ">
15-
<MapPin color="#D2D2D2" className="absolute top-1/2 left-0.5 ml-3 h-6 -translate-y-1/2" />
16-
<input
16+
<MapPin className="text-emphasis absolute top-1/2 left-0.5 ml-3 h-4 -translate-y-1/2" />
17+
<Input
1718
{...rest}
1819
value={value}
1920
onChange={(e) => {
2021
onChange(e.target.value);
2122
}}
22-
color="#D2D2D2"
23-
className={`${className} focus-within:border-brand-default dark:bg-darkgray-100 border-subtle border-default disabled:text-subtle disabled:dark:text-subtle dark:text-inverted block h-10 w-full rounded-md border border py-px pl-10 text-sm outline-none ring-black focus-within:ring-1 disabled:opacity-50 dark:placeholder-gray-500 dark:selection:bg-green-500`}
23+
className={`${className} py-px pl-10`}
2424
/>
2525
</div>
2626
);

0 commit comments

Comments
 (0)