import type { Button as RadixButton } from "@radix-ui/themes"
import type { ComponentProps, ReactNode } from "react"

export type ButtonVariant =
	| "primary"
	| "secondary"
	| "outline"
	| "ghost"
	| "danger"
	| "icon"
export type ButtonSize = "sm" | "md" | "lg"

export interface IButtonProps extends Omit<
	ComponentProps<typeof RadixButton>,
	"size" | "variant"
> {
	variant?: ButtonVariant
	size?: ButtonSize
	loading?: boolean
	children?: ReactNode
}
