MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / ButtonProps

Interface ButtonProps

sb-test/src/stories/Button.tsx:4–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import './button.css';
3
4interface ButtonProps {
5 /**
6 * 光光光光光光光光光光光光光光
7 */
8 primary?: boolean;
9 /**
10 * What background color to use
11 */
12 backgroundColor?: string;
13 /**
14 * How large should the button be?
15 */
16 size?: 'small' | 'medium' | 'large';
17 /**
18 * Button contents
19 */
20 label: string;
21 /**
22 * Optional click handler
23 */
24 onClick?: () => void;
25}
26
27/**
28 * 东东东东东东东东东东东东东东东东

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected