consul/ui-v2/app/components/consul-role-list
John Cowen 7a8b5e7eb7
ui: Redesigns for the token/policy/roles listings pages (#8144)
2020-06-23 10:12:04 +01:00
..
README.mdx ui: Redesigns for the token/policy/roles listings pages (#8144) 2020-06-23 10:12:04 +01:00
index.hbs ui: Redesigns for the token/policy/roles listings pages (#8144) 2020-06-23 10:12:04 +01:00
index.js ui: Redesigns for the token/policy/roles listings pages (#8144) 2020-06-23 10:12:04 +01:00
pageobject.js ui: Redesigns for the token/policy/roles listings pages (#8144) 2020-06-23 10:12:04 +01:00

README.mdx

## ConsulRoleList

```
<ConsulRoleList
  @items={{items}}
  @ondelete={{action 'delete'}}
/>
```

A presentational component for rendering Consul ACL roles

### Arguments

| Argument/Attribute | Type | Default | Description |
| --- | --- | --- | --- |
| `items` | `array` |  | An array of ACL roles  |
| `ondelete` | `function` |  | An action to execute when the `Delete` action is clicked |

### See

- [Component Source Code](./index.js)
- [TemplateSource Code](./index.hbs)

---