consul/ui-v2/app/components/consul-nspace-list
John Cowen 5f3312a8ac
ui: Namespaces Redesign (#8336)
* 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
2020-07-20 18:12:34 +01:00
..
README.mdx ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00
index.hbs ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00
index.js ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00
pageobject.js ui: Namespaces Redesign (#8336) 2020-07-20 18:12:34 +01:00

README.mdx

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

---