---
class: ember
---
## Consul::Nspace::List

```hbs
<DataSource @src="/default/dc-1/namespaces" as |source|>
  <Consul::Nspace::List
    @items={{source.data}}
    @ondelete={{action (noop)}}
  />
</DataSource>
```

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)

---
