// src/web-components/reserved-names.ts
// React reserves `style` (CSSProperties), `className`, `key`, `ref`, `children`.
// A canonical design axis literally named one of these is renamed on the React
// surface only; the underlying custom-element property keeps its original name.
// Single source — the generator applies this to every component (anti-pattern #2: no per-component special-case).
// Currently empty — Button's former `style` axis was renamed to `fill` (INFRA-F59), so no remap is needed. Kept as the extension point for any future reserved-name collision.
export const RESERVED_NAME_REMAP: Record<string, string> = {}
export function applyReservedRemap(propName: string): string {
  return RESERVED_NAME_REMAP[propName] ?? propName
}
