---
id: 5114
title: Add isLoading_ config to Component Base & add Spinner to Button when isLoading
state: CLOSED
labels:
  - enhancement
assignees:
  - ExtAnimal
createdAt: '2023-11-29T16:39:32Z'
updatedAt: '2023-11-30T16:53:18Z'
githubUrl: 'https://github.com/neomjs/neo/issues/5114'
author: mxmrtns
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2023-11-30T16:53:18Z'
---
# Add isLoading_ config to Component Base & add Spinner to Button when isLoading

Context:
We need to have this config, so that we can show the Loading State for a Button when something is loading. (see Example below)
<img width="407" alt="image" src="https://github.com/neomjs/neo/assets/19474089/42b4addf-e052-4711-a02a-8bff6534bb94">

Other examples that can benefit from this are e.g. tables or lists (out of scope for this ticket)



## Timeline

- 2023-11-29T16:39:32Z @mxmrtns added the `enhancement` label
- 2023-11-29T16:39:40Z @mxmrtns assigned to @mxmrtns
- 2023-11-29T16:39:46Z @mxmrtns unassigned from @mxmrtns
- 2023-11-29T16:39:54Z @mxmrtns assigned to @ExtAnimal
- 2023-11-30T16:35:34Z @ExtAnimal cross-referenced by PR #5117
- 2023-11-30T16:53:18Z @ExtAnimal closed this issue

