mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: add beta badge to storage (#1099)
* chore: add beta badge to storage * chore: update
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user