mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 20:19:30 +08:00
13 lines
292 B
JavaScript
13 lines
292 B
JavaScript
import React, {PropTypes} from 'react';
|
|
import styles from './ProfileHeader.css';
|
|
|
|
const ProfileHeader = ({username}) => (
|
|
<div className={styles.header}>
|
|
<h1>{username}</h1>
|
|
</div>
|
|
);
|
|
|
|
ProfileHeader.propTypes = {username: PropTypes.string.isRequired};
|
|
|
|
export default ProfileHeader;
|