code-obos / grunnmuren

OBOS' design system
https://obos-grunnmuren.netlify.app
MIT License
6 stars 0 forks source link

backlink: render as button when no href is provided #892

Closed alexanbj closed 1 month ago

alexanbj commented 1 month ago

Denne PRen legger til støtte for at Backlink kan rendres som enten en button eller en anchor, basert på om det blir sendt inn en href eller ikke.

Dette er delvis inspirert av det vi gjorde for Button her https://github.com/code-obos/grunnmuren/pull/870.

Fikser https://dev.azure.com/obosbbl/Content%20hub/_boards/board/t/Designsystem%20-%20Grunnmuren/Stories?workitem=96988

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 78ba43b6b3c384a6acd0d5f673aec6a0c1d0e71e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------- | ----- | | @obosbbl/grunnmuren-react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 1 month ago

Deploy Preview for obos-grunnmuren ready!

Name Link
Latest commit 78ba43b6b3c384a6acd0d5f673aec6a0c1d0e71e
Latest deploy log https://app.netlify.com/sites/obos-grunnmuren/deploys/66ab60ce00ef1800085f3b7b
Deploy Preview https://deploy-preview-892--obos-grunnmuren.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.