MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / Button

Function Button

apps/web/src/components/Button.tsx:65–73  ·  view source on GitHub ↗
({
  variant = 'primary',
  size = 'md',
  className = '',
  ...props
}: ButtonProps)

Source from the content-addressed store, hash-verified

63 icon: 'p-2 text-sm',
64};
65export function Button({
66 variant = 'primary',
67 size = 'md',
68 className = '',
69 ...props
70}: ButtonProps) {
71 const buttonStyles = cn(baseStyles, variantStyles[variant], sizeStyles[size], className);
72 return <button className={buttonStyles} {...props} />;
73}
74
75export function LinkButton({
76 variant = 'primary',

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected