MCPcopy Create free account
hub / github.com/api-platform/website / ButtonProps

Interface ButtonProps

pwa/components/common/Button.tsx:6–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import Link from "components/common/Link";
5
6export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLDivElement> {
7 size?: "small" | "medium" | "large" | "extralarge";
8 className?: string;
9 empty?: boolean;
10 disabled?: boolean;
11 href?: string;
12 external?: boolean;
13 color?: "default" | "white" | "pink";
14 darkMode?: boolean;
15 ariaLabel?: string;
16}
17
18export default function Button({
19 children,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected