From e62588a450d38aee9f25c7cd08f1ecb4c795238a Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Thu, 31 Oct 2024 00:16:32 +0900 Subject: [PATCH] Snackbar: Use `link` variant for action Button (#66560) * Snackbar: Use `link` variant for action button * Add changelog Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: tyxla --- packages/components/CHANGELOG.md | 4 ++++ packages/components/src/snackbar/index.tsx | 3 ++- packages/components/src/snackbar/style.scss | 23 +++++++-------------- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index ccafd5b79f0c0d..1f612bfae6597e 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Internal + +- `Snackbar`: Use link variant for action Button ([#66560](https://github.com/WordPress/gutenberg/pull/66560)). + ## 28.11.0 (2024-10-30) ### Deprecations diff --git a/packages/components/src/snackbar/index.tsx b/packages/components/src/snackbar/index.tsx index 0f2b74caca7d4a..dfcb0a6d8f2a84 100644 --- a/packages/components/src/snackbar/index.tsx +++ b/packages/components/src/snackbar/index.tsx @@ -150,9 +150,10 @@ function UnforwardedSnackbar( { actions.map( ( { label, onClick, url }, index ) => { return (