Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@davoodmehraban89
/
medusa
Fork
0
medusa
/
www
/
apps
/
ui
/
specs
/
examples
/
button-as-link.tsx
Code
Commits
Issues
Pulls
Cloud Agent
CICD
project/medusa-foundation-audit
automation/medusa-upstream-review
main
project/medusa-foundation-audit
security/codeql-dependabot-gitleaks
tsx
11 lines
251 Bytes
Copy permalink
Copy
Raw
1
import
{
Button
}
from
"
@medusajs/ui
"
2
3
export
default
function
ButtonAsLink
()
{
4
return
(
5
<
Button
asChild
>
6
<
a
href
=
"https://medusajs.com"
target
=
"_blank"
rel
=
"noopener noreferrer"
>
7
Open Medusa Website
8
</
a
>
9
</
Button
>
10
)
11
}