consul/ui-v2/app/components/consul-policy-list
John Cowen 7a7311d736
ui: Add some missed spaces in component README files (#8335)
2020-07-20 17:43:10 +01:00
..
README.mdx ui: Add some missed spaces in component README files (#8335) 2020-07-20 17:43:10 +01:00
index.hbs
index.js
pageobject.js

README.mdx

## ConsulPolicyList

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

A presentational component for rendering Consul ACL policies

### Arguments

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

### See

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

---