Changeset View
Changeset View
Standalone View
Standalone View
native/components/thread-icon.react.js
// @flow | // @flow | ||||
import EntypoIcon from '@expo/vector-icons/Entypo.js'; | import EntypoIcon from '@expo/vector-icons/Entypo.js'; | ||||
import * as React from 'react'; | import * as React from 'react'; | ||||
import { StyleSheet } from 'react-native'; | import { StyleSheet } from 'react-native'; | ||||
import { threadTypes, type ThreadType } from 'lib/types/thread-types.js'; | import { threadTypes, type ThreadType } from 'lib/types/thread-types-enum.js'; | ||||
import SWMansionIcon from './swmansion-icon.react.js'; | import SWMansionIcon from './swmansion-icon.react.js'; | ||||
type Props = { | type Props = { | ||||
+threadType: ThreadType, | +threadType: ThreadType, | ||||
+color: string, | +color: string, | ||||
}; | }; | ||||
function ThreadIcon(props: Props): React.Node { | function ThreadIcon(props: Props): React.Node { | ||||
Show All 29 Lines |