(props)
| 1 | import {Switch} from '@adobe/react-spectrum'; |
| 2 | |
| 3 | function Lighting(props) { |
| 4 | let mode = props.selected ? 'Light Mode' : 'Dark Mode'; |
| 5 | return <Switch onChange={props.switch}>{mode}</Switch>; |
| 6 | } |
| 7 | |
| 8 | export default Lighting; |
nothing calls this directly
no outgoing calls
no test coverage detected