mirror of
https://github.com/wassname/talk.git
synced 2026-10-30 13:50:47 +08:00
props
This commit is contained in:
1 parent
1f0d102115
commit
ec4fc566c1
1 file changed
+2
-2
@@ -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