mirror of
https://github.com/wassname/talk.git
synced 2026-07-11 19:51:22 +08:00
props
This commit is contained in:
@@ -2,8 +2,8 @@ import React, {PropTypes} from 'react';
|
||||
import styles from './TextArea.css';
|
||||
|
||||
const TextArea = ({className, value = '', ...props}) => (
|
||||
<div className={`${styles.textArea} ${className ? className : ''}`} {...props}>
|
||||
<textarea value={value} />
|
||||
<div className={`${styles.textArea} ${className ? className : ''}`}>
|
||||
<textarea value={value} {...props}/>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user