feat: close #2141 danger zone

This commit is contained in:
Yidadaa
2023-06-29 01:09:51 +08:00
parent 98afd5516b
commit 6c3d4a11cc
19 changed files with 106 additions and 139 deletions

View File

@@ -2,10 +2,12 @@ import * as React from "react";
import styles from "./button.module.scss";
export type ButtonType = "primary" | "danger" | null;
export function IconButton(props: {
onClick?: () => void;
icon?: JSX.Element;
type?: "primary" | "danger";
type?: ButtonType;
text?: string;
bordered?: boolean;
shadow?: boolean;