MCPcopy Create free account
hub / github.com/composify-js/composify / Button

Function Button

packages/docs/src/ui-system/Button/Button.tsx:12–16  ·  view source on GitHub ↗
({ className, variant, size, asChild, ...props })

Source from the content-addressed store, hash-verified

10 };
11
12export const Button: FC<Props> = ({ className, variant, size, asChild, ...props }) => {
13 const Comp = asChild ? Slot : 'button';
14
15 return <Comp className={variants({ className, variant, size })} {...props} />;
16};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected