chore: version info modal

This commit is contained in:
jialin
2024-07-12 12:06:17 +08:00
parent c5327d3e56
commit 320db56fbe
38 changed files with 334 additions and 108 deletions
+6 -1
View File
@@ -20,12 +20,17 @@ type StatusTagProps = {
text: string;
message?: string;
};
type?: 'tag' | 'circle';
download?: {
percent: number;
};
};
const StatusTag: React.FC<StatusTagProps> = ({ statusValue, download }) => {
const StatusTag: React.FC<StatusTagProps> = ({
statusValue,
download,
type = 'tag'
}) => {
const { text, status } = statusValue;
const [statusColor, setStatusColor] = useState<{
text: string;