wix / wix/react-native-ui-lib

Button component do not have loading status

Open
#2,776 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
TypeScript
Stars
7.2k
Forks
748
Avg merge
2d 18h
Merged PRs (30d)
1

Description

Description

On click of Button when API is hit at background, user should be acknowledged about the status of it by toggling from text button to spinning / loading Icon button. And this icon should not necessarily be svg / image type
Something like react-native-vector-icons

Related to
  • Components
Screenshots/Video
image
Environment
  • Expo version: ^49.0.7,
  • React Native version: 0.72.3
  • React Native UI Lib version: ^7.8.0
Affected platforms
  • Android
  • iOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Button component and reviewing its current props and related component usage. Define how a click that triggers background API work exposes a loading state with a spinning icon on both Android and iOS, then verify the behavior in the affected environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.