blob: 98fd06f8c62d0915fbf133ad9e32f826bcf72e9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import React from 'react';
import { ExcludeKey } from '../type-utilities';
import { TimelineInfo } from '../data/timeline';
import TimelinePageTemplateUI, {
TimelinePageTemplateUIProps
} from '../timeline/TimelinePageTemplateUI';
import UserInfoCard, { PersonalTimelineManageItem } from './UserInfoCard';
export type UserPageProps = ExcludeKey<
TimelinePageTemplateUIProps<TimelineInfo, PersonalTimelineManageItem>,
'CardComponent'
>;
const UserPage: React.FC<UserPageProps> = props => {
return <TimelinePageTemplateUI {...props} CardComponent={UserInfoCard} />;
};
export default UserPage;
|