({ mode = Mode.BUILD }: Props)
| 7 | }; |
| 8 | |
| 9 | export function Spinner({ mode = Mode.BUILD }: Props) { |
| 10 | const { colors } = useTheme(); |
| 11 | const activeColor = mode === Mode.PLAN ? colors.planMode : colors.primary; |
| 12 | |
| 13 | return <spinner name="aesthetic" color={activeColor} />; |
| 14 | }; |
nothing calls this directly
no test coverage detected