feat: update loading indicator position in Selectable component

This commit is contained in:
Aditya 2025-02-01 10:44:08 +05:30
parent 7b858588f0
commit 7216102d33

View File

@ -208,23 +208,20 @@ const Selectable: FC<SelectableProps> = ({
value={text}
onChange={(e) => handleTextChange(e.target.value)}
placeholder={placeholder}
/>
{
loading && (
endAdornment={
true ? (
<CircularProgress
size={20}
thickness={5}
style={
{
style={{
position: "absolute",
top: "30%",
right: "5px",
transform: "translateY(-30%)"
}
right: 0,
top: "20%",
transform: "translateY(-20%)",
}}
/>
) : null
}
/>
)
}
</SelectableBox>
);
};