mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 23:05:28 +00:00
5f3312a8ac
* ui: Add new consul-nspace-list component * ui: Use new consul-nspace-list component * Fix up other components to use linkable list-collection action * ui: Remove some dead CSS
25 lines
488 B
Plaintext
25 lines
488 B
Plaintext
## ConsulNspaceList
|
|
|
|
```
|
|
<ConsulNspaceList
|
|
@items={{items}}
|
|
@ondelete={{action 'delete'}}
|
|
/>
|
|
```
|
|
|
|
A presentational component for rendering Consul Namespaces
|
|
|
|
### Arguments
|
|
|
|
| Argument/Attribute | Type | Default | Description |
|
|
| --- | --- | --- | --- |
|
|
| `items` | `array` | | An array of Namespaces |
|
|
| `ondelete` | `function` | | An action to execute when the `Delete` action is clicked |
|
|
|
|
### See
|
|
|
|
- [Component Source Code](./index.js)
|
|
- [Template Source Code](./index.hbs)
|
|
|
|
---
|