initial commit after split
This commit is contained in:
5
webui/src/components/Button.tsx
Normal file
5
webui/src/components/Button.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & { variant?: "primary" | "secondary" | "ghost" | "danger" };
|
||||
|
||||
export default function Button({ variant = "secondary", className = "", ...props }: Props) {
|
||||
return <button className={`btn btn-${variant} ${className}`} {...props} />;
|
||||
}
|
||||
Reference in New Issue
Block a user