consul/ui-v2/app/components/consul-nspace-list/README.mdx

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)
---