// Copyright (c) Tailscale Inc & AUTHORS // SPDX-License-Identifier: BSD-3-Clause import cx from "classnames" import React, { HTMLAttributes } from "react" export type BadgeColor = | "blue" | "green" | "red" | "orange" | "yellow" | "gray" | "outline" type Props = { variant: "tag" | "status" color: BadgeColor } & HTMLAttributes export default function Badge(props: Props) { const { className, color, variant, ...rest } = props return (
) } Badge.defaultProps = { color: "gray", }