File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 77} from 'react-native'
88import { useTheme } from 'react-native-paper'
99import {
10+ circleSize ,
1011 clockTypes ,
1112 getAngle ,
1213 getHours ,
@@ -24,9 +25,6 @@ import AnalogClockHours from './AnalogClockHours'
2425import AnimatedClockSwitcher from './AnimatedClockSwitcher'
2526import AnalogClockMinutes from './AnalogClockMinutes'
2627
27- // 250? when bigger?
28- export const circleSize = 215
29-
3028function AnalogClock ( {
3129 hours,
3230 minutes,
Original file line number Diff line number Diff line change 11import * as React from 'react'
22import { View , StyleSheet } from 'react-native'
33import { Text } from 'react-native-paper'
4- import { circleSize } from './AnalogClock '
4+ import { circleSize } from './timeUtils '
55import { useTextColorOnPrimary } from '../utils'
66
77function AnalogClockHours ( {
Original file line number Diff line number Diff line change 11import * as React from 'react'
22import { View , StyleSheet } from 'react-native'
33import { Text } from 'react-native-paper'
4- import { circleSize } from './AnalogClock '
4+ import { circleSize } from './timeUtils '
55import { useTextColorOnPrimary } from '../utils'
66
77function AnalogClockMinutes ( { minutes } : { minutes : number } ) {
Original file line number Diff line number Diff line change 99 toHourOutputFormat ,
1010} from './timeUtils'
1111
12- import AnalogClock , { circleSize } from './AnalogClock'
12+ import AnalogClock from './AnalogClock'
13+ import { circleSize } from './timeUtils'
1314import TimeInputs from './TimeInputs'
1415
1516type onChangeFunc = ( {
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ import * as React from 'react'
22import Color from 'color'
33import { useTheme } from 'react-native-paper'
44
5+ // 250? when bigger?
6+ export const circleSize = 215
7+
58export type PossibleHourTypes = 'am' | 'pm'
69export type HourTypeMap = {
710 [ hourType in PossibleHourTypes ] : PossibleHourTypes
You can’t perform that action at this time.
0 commit comments