1996336481
* Update repository links to point to main Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Fix broken link in relatedtools.mdx Co-authored-by: Steven Clark <steven.clark@hashicorp.com> Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
1.2 KiB
1.2 KiB
LinkableItem
LinkableItem components have two contextual components, a Content component used to show information on the left with a Menu component on the right, all aligned vertically centered. If passed a link, the block will be clickable.
Params
Param | Type | Default | Description |
---|---|---|---|
[link] | object |
|
Link should have route and model |
[disabled] | boolean |
false |
If no link then should be given a disabled attribute equal to true |
Example
<LinkableItem @link={{hash route='vault.backends' model='my-backend-path'}} data-test-row="my-backend-path">
// Use <LinkableItem.content> and <LinkableItem.menu> here
</LinkableItem>
See