| 1 | import React from 'react'; |
| 2 | |
| 3 | interface SwitchProps { |
| 4 | value: boolean; |
| 5 | onValueChange?: () => void; |
| 6 | color: string; |
| 7 | } |
| 8 | |
| 9 | const Switch = ({ value, onValueChange, color }: SwitchProps) => { |
| 10 | const background = value ? color : 'none'; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…