Open jhoward-eightfold opened 1 month ago
In a scenario where loading has a true value from the beginning, the button component text flashes before switching to the loading animation. Reproducible in storybook: https://github.com/EightfoldAI/octuple/assets/106610186/931476b9-6f3d-41ab-9b12-0b1c6b90ce07
This use case is that the button action is dependent on an API call but we want it rendered on the page with loading animation until we know the correct text/action to use
In a scenario where loading has a true value from the beginning, the button component text flashes before switching to the loading animation. Reproducible in storybook: https://github.com/EightfoldAI/octuple/assets/106610186/931476b9-6f3d-41ab-9b12-0b1c6b90ce07
This use case is that the button action is dependent on an API call but we want it rendered on the page with loading animation until we know the correct text/action to use