---
id: 5222
title: 'button.Base/component.Base: add a config to change spinner icon in isLoading state'
state: CLOSED
labels:
  - enhancement
assignees: []
createdAt: '2024-02-14T09:56:46Z'
updatedAt: '2024-02-14T10:17:21Z'
githubUrl: 'https://github.com/neomjs/neo/issues/5222'
author: pensuwan-k
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2024-02-14T10:17:21Z'
---
# button.Base/component.Base: add a config to change spinner icon in isLoading state

Currently if you set isLoading to true the spinner icon that is shown is always ['fa', 'fa-spinner', 'fa-spin']. (component.Base: afterSetIsLoading).

It would be nice to have a config which allows different icon cls to be use.


## Timeline

- 2024-02-14T09:56:46Z @pensuwan-k added the `enhancement` label
- 2024-02-14T10:17:10Z @tobiu referenced in commit `7fb3743` - "button.Base/component.Base: add a config to change spinner icon in isLoading state #5222"
- 2024-02-14T10:17:21Z @tobiu closed this issue
- 2024-03-26T16:29:30Z @tobiu referenced in commit `d5a4d25` - "button.Base/component.Base: add a config to change spinner icon in isLoading state #5222"

