mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-09 03:56:49 +00:00
* specify layout * create components folder and Navbar * create pages folder and Landing page component * create Sign Up page component * set basic routing - install react-router-dom - create Router folder and component * add constant routes file * verify all routes are accessible * add signin page * extract header component * add developers page * extract dev profiles * extract DevSummary type * update tests * add types * lay profile top and about out * lay experience section out - install moment - define Experience interface - define TimePeriod type & method * lay education section out - define education interface * lay repos section out * add Dashboard page and test * lay dashboard top section out * [refactor] Experience.ts: change employer to company; move TimePeriod to its own file * experience credential table in dashboard * education credential table in dashboard * dashboard done * edit profile * add experience page * add education page * create Comment and Post types; PostPage * postpage * posts page * refactor
18 lines
338 B
TypeScript
18 lines
338 B
TypeScript
import React, {FC} from 'react';
|
|
import Header from './Header';
|
|
|
|
interface IProps {
|
|
title: string;
|
|
lead: string;
|
|
icon?: string;
|
|
}
|
|
|
|
/** Header component displayed on form pages */
|
|
const FormHeader: FC<IProps> = props => (
|
|
<>
|
|
<Header {...props} />
|
|
<small>* marks required fields</small>
|
|
</>
|
|
);
|
|
|
|
export default FormHeader;
|