Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

1.2 KB
Raw Blame
type ButtonProps = Omit<ButtonProps_2, "size" | "variant" | "color"> & {
  color?: "brand" | "filter" | "negative" | "positive" | "warning" | "neutral";
  size?: "sm" | "md" | "lg" | "compact-sm" | "compact-md";
  variant?:
    | "default"
    | "filled"
    | "light"
    | "subtle"
    | "transparent"
    | "on-dark-primary"
    | "on-dark-secondary";
} & ButtonHTMLAttributes<HTMLButtonElement>;

Type Declaration

Name Type
color? "brand" | "filter" | "negative" | "positive" | "warning" | "neutral"
size? "sm" | "md" | "lg" | "compact-sm" | "compact-md"
variant? | "default" | "filled" | "light" | "subtle" | "transparent" | "on-dark-primary" | "on-dark-secondary"