Changeset View
Changeset View
Standalone View
Standalone View
native/chat/compose-thread-button.react.js
// @flow | // @flow | ||||
import * as React from 'react'; | import * as React from 'react'; | ||||
import { StyleSheet } from 'react-native'; | import { StyleSheet } from 'react-native'; | ||||
import { useLoggedInUserInfo } from 'lib/hooks/account-hooks.js'; | import { useLoggedInUserInfo } from 'lib/hooks/account-hooks.js'; | ||||
import { createPendingThread } from 'lib/shared/thread-utils.js'; | import { createPendingThread } from 'lib/shared/thread-utils.js'; | ||||
import { threadTypes } from 'lib/types/thread-types.js'; | import { threadTypes } from 'lib/types/thread-types-enum.js'; | ||||
import type { ChatNavigationProp } from './chat.react.js'; | import type { ChatNavigationProp } from './chat.react.js'; | ||||
import Button from '../components/button.react.js'; | import Button from '../components/button.react.js'; | ||||
import SWMansionIcon from '../components/swmansion-icon.react.js'; | import SWMansionIcon from '../components/swmansion-icon.react.js'; | ||||
import { MessageListRouteName } from '../navigation/route-names.js'; | import { MessageListRouteName } from '../navigation/route-names.js'; | ||||
import { useColors } from '../themes/colors.js'; | import { useColors } from '../themes/colors.js'; | ||||
type Props = { | type Props = { | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |