fix imports

This commit is contained in:
Pavel Prichodko 2023-03-13 19:58:31 +01:00
parent 38260d7e97
commit e0ece0a193
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
3 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1 @@
export { Author } from './author'

View File

@ -1,3 +1,5 @@
import { useState } from 'react'
import { PinIcon } from '@status-im/icons/16' import { PinIcon } from '@status-im/icons/16'
import { View } from 'react-native' import { View } from 'react-native'
import { Stack, styled, Unspaced, XStack, YStack } from 'tamagui' import { Stack, styled, Unspaced, XStack, YStack } from 'tamagui'
@ -45,8 +47,8 @@ const Wrapper = styled(View, {
const Message = (props: Props) => { const Message = (props: Props) => {
const { text, images, reactions, reply, pinned } = props const { text, images, reactions, reply, pinned } = props
const [hovered, setHovered] = React.useState(false) const [hovered, setHovered] = useState(false)
const [actionsOpen, setActionsOpen] = React.useState(false) const [actionsOpen, setActionsOpen] = useState(false)
const active = actionsOpen || hovered const active = actionsOpen || hovered
// <Sheet press="long"> // <Sheet press="long">

View File

@ -1,4 +1,4 @@
import { useState } from 'react' import React, { useState } from 'react'
import * as Collapsible from '@radix-ui/react-collapsible' import * as Collapsible from '@radix-ui/react-collapsible'