diff --git a/.changeset/sour-insects-marry.md b/.changeset/sour-insects-marry.md index fe35fda82e..3d6183823b 100644 --- a/.changeset/sour-insects-marry.md +++ b/.changeset/sour-insects-marry.md @@ -1,27 +1,31 @@ --- -'@backstage/core': patch +'@backstage/core': minor '@backstage/plugin-pagerduty': patch --- -Adds onClick and other props to IconLinkVertical -Allows TriggerButton component to render when pager duty key is missing -Refactors TriggerButton and PagerDutyCard not to have shared state -Removes the `action` prop of the IconLinkVertical component while adding `onClick`. So instead of having an action including a button with onClick, now the whole component can be clickable making it easier to implement and having a better UX. Before: +- Adds onClick and other props to IconLinkVertical; +- Allows TriggerButton component to render when pager duty key is missing; +- Refactors TriggerButton and PagerDutyCard not to have shared state; +- Removes the `action` prop of the IconLinkVertical component while adding `onClick`. -```ts -const myLink : IconLinkVerticalProps = { - label: 'Click me', - action: