GeekyAnts / GeekyAnts/NativeBase

Button leftIcon is located near the center text instead of the left side of the button

Open
#5,671 0 comments 1 reaction 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

The leftIcon should be aligned to left

### CodeSandbox/Snack link

https://snack.expo.dev/@danieldudast/example-button-lefticon

### Steps to reproduce

_No response_

### NativeBase Version

3.4.25

### Platform

- [ ] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

I want to make the buttons with text on center and the leftIcon to stay to the left of the button. But it is added near the text instead of left side of the button.

Actual Result:
![Screenshot 2023-02-10 at 02 08 08](https://user-images.githubusercontent.com/677196/217967322-7c1b8129-cc54-40b8-9146-31f41c1886a8.png)

What I want:
![Screenshot 2023-02-10 at 02 08 34](https://user-images.githubusercontent.com/677196/217967374-e3dbe33e-1c5a-41ed-a8fa-c4760683aae0.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.