(prop: string)
| 128 | // ─── Inline style helpers ───────────────────────────────────────────────────── |
| 129 | |
| 130 | export function toCamel(prop: string): string { |
| 131 | if (prop.startsWith("--")) return prop; |
| 132 | return prop.replace(/-([a-z])/g, (_, c: string) => (c as string).toUpperCase()); |
| 133 | } |
| 134 | |
| 135 | function toKebab(prop: string): string { |
| 136 | if (prop.startsWith("--")) return prop; |
no outgoing calls
no test coverage detected