mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
import React from "react";
|
|
import { StatelessComponent } from "react";
|
|
|
|
import * as styles from "./Username.css";
|
|
|
|
export interface CommentProps {
|
|
children: string;
|
|
}
|
|
|
|
const Username: StatelessComponent<CommentProps> = props => {
|
|
return <span className={styles.root}>{props.children}</span>;
|
|
};
|
|
|
|
export default Username;
|