docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build utilities that read JSX attribute nodes and report event handler usage using the canonical JSX event prop lists supplied by the dependency.
onClicker, casing typos) from all results. @testexport type EventCategory =
| "clipboard"
| "composition"
| "keyboard"
| "focus"
| "form"
| "mouse"
| "selection"
| "touch"
| "ui"
| "wheel"
| "media"
| "image"
| "animation"
| "transition";
export interface JSXAttribute {
type: "JSXAttribute";
name: { type: "JSXIdentifier" | "JSXNamespacedName"; name: string };
value?: unknown;
}
export function listEventHandlers(attrs: JSXAttribute[]): string[];
export function groupEventHandlers(attrs: JSXAttribute[]): Partial<Record<EventCategory, string[]>>;
export function hasEventCategory(attrs: JSXAttribute[], category: EventCategory): boolean;Provides canonical JSX event handler prop lists and category mappings.