MCPcopy
hub / github.com/prabhuignoto/react-chrono / ValidationError

Interface ValidationError

src/utils/validation.ts:5–8  ·  view source on GitHub ↗

* Simple runtime validation for Timeline props without external dependencies

Source from the content-addressed store, hash-verified

3 */
4
5interface ValidationError {
6 path: string[];
7 message: string;
8}
9
10function isValidHexColor(color: string): boolean {
11 return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(color);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected