chore: add beta badge to storage (#1099)

* chore: add beta badge to storage

* chore: update
This commit is contained in:
boojack
2023-02-16 21:21:39 +08:00
committed by GitHub
parent 7e8011ba34
commit caf054bae7
8 changed files with 30 additions and 17 deletions

View File

@ -1,5 +1,3 @@
import "../less/beta-badge.less";
interface Props {
className?: string;
}
@ -7,7 +5,13 @@ interface Props {
const BetaBadge: React.FC<Props> = (props: Props) => {
const { className } = props;
return <span className={`beta-badge ${className ?? ""}`}>beta</span>;
return (
<span
className={`mx-1 px-1 leading-5 text-xs border dark:border-zinc-600 rounded-full text-gray-500 dark:text-gray-400 ${className ?? ""}`}
>
Beta
</span>
);
};
export default BetaBadge;