* Simple runtime validation for Timeline props without external dependencies
| 3 | */ |
| 4 | |
| 5 | interface ValidationError { |
| 6 | path: string[]; |
| 7 | message: string; |
| 8 | } |
| 9 | |
| 10 | function isValidHexColor(color: string): boolean { |
| 11 | return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(color); |
nothing calls this directly
no outgoing calls
no test coverage detected