import { FC, HTMLProps } from "react";

const Badge: FC<HTMLProps<HTMLSpanElement>> = (props) => {
  return (
    <span className="px-2 py-1 bg-gray-300 text-gray-800 rounded-md text-xs">
      {props.children}
    </span>
  );
};

export default Badge;
