diff options
author | crupest <crupest@outlook.com> | 2020-08-24 22:59:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-24 22:59:45 +0800 |
commit | cc0cc154b9506d1961d08cb29fbc29ad815bad69 (patch) | |
tree | a50e492d784a553c4fb7bc016819f872c2382247 /Timeline/ClientApp/src/app/user/UserPage.tsx | |
parent | 13cf2ab0598adb291066ef64a7b377909ef58525 (diff) | |
download | timeline-cc0cc154b9506d1961d08cb29fbc29ad815bad69.tar.gz timeline-cc0cc154b9506d1961d08cb29fbc29ad815bad69.tar.bz2 timeline-cc0cc154b9506d1961d08cb29fbc29ad815bad69.zip |
...
Diffstat (limited to 'Timeline/ClientApp/src/app/user/UserPage.tsx')
-rw-r--r-- | Timeline/ClientApp/src/app/user/UserPage.tsx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Timeline/ClientApp/src/app/user/UserPage.tsx b/Timeline/ClientApp/src/app/user/UserPage.tsx index 4c9bd747..42f174d9 100644 --- a/Timeline/ClientApp/src/app/user/UserPage.tsx +++ b/Timeline/ClientApp/src/app/user/UserPage.tsx @@ -1,19 +1,19 @@ -import React from 'react';
-
-import { ExcludeKey } from '../utilities/type';
-
-import TimelinePageTemplateUI, {
- TimelinePageTemplateUIProps,
-} from '../timeline/TimelinePageTemplateUI';
-import UserInfoCard, { PersonalTimelineManageItem } from './UserInfoCard';
-
-export type UserPageProps = ExcludeKey<
- TimelinePageTemplateUIProps<PersonalTimelineManageItem>,
- 'CardComponent'
->;
-
-const UserPage: React.FC<UserPageProps> = (props) => {
- return <TimelinePageTemplateUI {...props} CardComponent={UserInfoCard} />;
-};
-
-export default UserPage;
+import React from "react"; + +import { ExcludeKey } from "../utilities/type"; + +import TimelinePageTemplateUI, { + TimelinePageTemplateUIProps, +} from "../timeline/TimelinePageTemplateUI"; +import UserInfoCard, { PersonalTimelineManageItem } from "./UserInfoCard"; + +export type UserPageProps = ExcludeKey< + TimelinePageTemplateUIProps<PersonalTimelineManageItem>, + "CardComponent" +>; + +const UserPage: React.FC<UserPageProps> = (props) => { + return <TimelinePageTemplateUI {...props} CardComponent={UserInfoCard} />; +}; + +export default UserPage; |