(color: string)
| 33 | cssIdentifierPattern.test(key) ? `--color-${key}` : null; |
| 34 | |
| 35 | export const chartCssColorValue = (color: string): string | null => { |
| 36 | const trimmed = color.trim(); |
| 37 | return cssColorPattern.test(trimmed) ? trimmed : null; |
| 38 | }; |
| 39 | |
| 40 | const ChartContext = React.createContext<ChartContextProps | null>(null); |
| 41 |
no outgoing calls
no test coverage detected