MCPcopy Create free account
hub / github.com/codeaashu/claude-code / SectionHeader

Function SectionHeader

web/components/settings/SettingRow.tsx:38–52  ·  view source on GitHub ↗
({ title, onReset }: SectionHeaderProps)

Source from the content-addressed store, hash-verified

36}
37
38export function SectionHeader({ title, onReset }: SectionHeaderProps) {
39 return (
40 <div className="flex items-center justify-between mb-2">
41 <h2 className="text-base font-semibold text-surface-100">{title}</h2>
42 {onReset && (
43 <button
44 onClick={onReset}
45 className="text-xs text-surface-400 hover:text-surface-200 transition-colors"
46 >
47 Reset to defaults
48 </button>
49 )}
50 </div>
51 );
52}
53
54interface ToggleProps {
55 checked: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected