2020-10-29 14:52:28 +01:00
|
|
|
import React from 'react'
|
|
|
|
|
2020-12-13 14:04:25 +01:00
|
|
|
import Timeline from '@components/Timelines/Timeline'
|
2020-10-29 14:52:28 +01:00
|
|
|
|
2020-10-31 21:04:46 +01:00
|
|
|
export interface Props {
|
|
|
|
route: {
|
|
|
|
params: {
|
2020-12-12 12:49:29 +01:00
|
|
|
toot: Mastodon.Status
|
2020-10-31 21:04:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-21 13:19:05 +01:00
|
|
|
const ScreenSharedToot: React.FC<Props> = ({
|
2020-10-29 14:52:28 +01:00
|
|
|
route: {
|
|
|
|
params: { toot }
|
|
|
|
}
|
2020-10-31 21:04:46 +01:00
|
|
|
}) => {
|
2020-10-29 14:52:28 +01:00
|
|
|
return <Timeline page='Toot' toot={toot} disableRefresh />
|
|
|
|
}
|
2020-10-31 21:04:46 +01:00
|
|
|
|
2020-11-21 13:19:05 +01:00
|
|
|
export default ScreenSharedToot
|