1234567891011121314151617181920212223242526272829303132333435363738 |
- import React from "react";
- import PropTypes from "prop-types";
- import CommentCombine from "./index";
- import styles from "./index.less";
-
- export class CommentDemo extends React.Component {
- render() {
- return (
- <div className={styles.playgroundWrapper}>
- <CommentCombine
- locale={this.props.locale}
- currentUser={{
- avatar:
- "https://links123-images.oss-cn-hangzhou.aliyuncs.com/avatar/2020/7/9/c495ab20cba85676bc91f0ea504275bf.jpg",
- birthday: "1991-11-14",
- email: "foureyed@qq.com",
- gender: 1,
- id: 45,
- introduction:
- "的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试的测试",
- linker: "L10158",
- nickname: "Adam的测试",
- phone: "170****1235",
- phone_code: "86",
- reside: "江西上饶的",
- }}
- />
- </div>
- );
- }
- }
-
- CommentDemo.propTypes = {
- locale: PropTypes.oneOf(["zh", "en"]),
- };
-
- export default CommentDemo;
|