import { PropsWithChildren, ReactNode } from 'react'; export interface ButtonProps extends PropsWithChildren { /** * Defines the button tag */ as?: "button" | "a"; /** * react node to add as a children */ children?: ReactNode; color: string; size: string; disabled: boolean; rounded: string; /** * Defines the url to redirect */ href: string; /** * identifier for the component */ id?: string; /** * additional classname */ className?: string; }