tooot/src/screens/Tabs/Me/Root/MyInfo.tsx

19 lines
428 B
TypeScript
Raw Normal View History

2021-01-30 01:29:15 +01:00
import AccountHeader from '@screens/Tabs/Shared/Account/Header'
import AccountInformation from '@screens/Tabs/Shared/Account/Information'
2021-04-24 15:03:17 +02:00
import React from 'react'
2020-11-22 00:46:23 +01:00
2020-12-18 00:00:45 +01:00
export interface Props {
2021-04-24 15:03:17 +02:00
account: Mastodon.Account | undefined
2020-12-18 00:00:45 +01:00
}
2021-04-24 15:03:17 +02:00
const MyInfo: React.FC<Props> = ({ account }) => {
2020-11-22 00:46:23 +01:00
return (
<>
2021-05-09 21:59:03 +02:00
<AccountHeader account={account} />
2021-06-01 22:27:27 +02:00
<AccountInformation account={account} />
2020-11-22 00:46:23 +01:00
</>
)
}
export default MyInfo