diff --git a/plugins/woocommerce-admin/changelogs/fix-84080-reintroduce-emphasis-on-inbox-note-action-button b/plugins/woocommerce-admin/changelogs/fix-84080-reintroduce-emphasis-on-inbox-note-action-button new file mode 100644 index 00000000000..b99a526b41e --- /dev/null +++ b/plugins/woocommerce-admin/changelogs/fix-84080-reintroduce-emphasis-on-inbox-note-action-button @@ -0,0 +1,4 @@ +Significance: patch +Type: Fix + +Reintroduce emphasis on inbox note action button. #8411 diff --git a/plugins/woocommerce-admin/packages/experimental/src/inbox-note/action.tsx b/plugins/woocommerce-admin/packages/experimental/src/inbox-note/action.tsx index b788b60e35a..55aafd21453 100644 --- a/plugins/woocommerce-admin/packages/experimental/src/inbox-note/action.tsx +++ b/plugins/woocommerce-admin/packages/experimental/src/inbox-note/action.tsx @@ -9,6 +9,7 @@ type InboxNoteActionProps = { label: string; href?: string; preventBusyState?: boolean; + variant: 'link' | 'secondary'; }; /** @@ -20,6 +21,7 @@ export const InboxNoteActionButton: React.FC< InboxNoteActionProps > = ( { onClick, href, preventBusyState, + variant = 'link', } ) => { const [ inAction, setInAction ] = useState( false ); @@ -53,7 +55,8 @@ export const InboxNoteActionButton: React.FC< InboxNoteActionProps > = ( { return (