pass props in header buttons

This commit is contained in:
Hristo Nedelkov 2023-11-20 18:59:43 +02:00
parent d13d87954e
commit 5ab6aeb25c

View File

@ -10,6 +10,7 @@ import { useEffect, useState } from 'react'
import { Button, DropdownMenu, Input } from '@status-im/components'
import { SearchIcon, DropdownIcon } from '@status-im/icons'
import SwitchComponent from './SwitchComponent'
import HeaderBtns from './HeaderBtns'
const LogsPage = () => {
const [timestamps, setTimestamps] = useState(false)
@ -43,7 +44,12 @@ const LogsPage = () => {
>
<XStack justifyContent="space-between" width={'100%'}>
<TitleLogo />
<HeaderBtns
dropdownMenuItem={dropdownMenuItem}
setDropdownMenuItem={setDropdownMenuItem}
setTimestamps={setTimestamps}
timestamps={timestamps}
/>
</XStack>
<Stack style={{ width: '100%', alignItems: 'center' }}>
<LogsTerminal windowWidth={windowWidth} />