tooot/src/screens/Shared/Hashtag.tsx

24 lines
419 B
TypeScript
Raw Normal View History

2020-10-26 00:27:53 +01:00
import React from 'react'
2020-12-13 14:04:25 +01:00
import Timeline from '@components/Timelines/Timeline'
2020-10-26 00:27:53 +01:00
// Show remote hashtag? Only when private, show local version?
2020-10-31 21:04:46 +01:00
export interface Props {
route: {
params: {
hashtag: string
}
}
}
2020-11-21 13:19:05 +01:00
const ScreenSharedHashtag: React.FC<Props> = ({
2020-10-26 00:27:53 +01:00
route: {
params: { hashtag }
}
2020-10-31 21:04:46 +01:00
}) => {
2020-10-26 00:27:53 +01:00
return <Timeline page='Hashtag' hashtag={hashtag} />
}
2020-10-31 21:04:46 +01:00
2020-11-21 13:19:05 +01:00
export default ScreenSharedHashtag