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

Interface ButtonProps

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected