React Widget
Install the npm package:
React Server Component
It will automatically attach the slug to the href to allow the user to open a
new tab on click to https://slug.openstatus.dev
. If you want to redirect him
to a specific page, use the href
property, like so:
StatusWidget
is an async function and will only work with RSC. Using it within a dead simple React App will not work.