Added the placeholder attribute to the TextArea.jsx
This commit is contained in:
parent
79112b3558
commit
d92c4e8f69
@ -1,5 +1,5 @@
|
||||
import "./styles.sass";
|
||||
|
||||
export const TextArea = ({value, onChange, readOnly = false}) => (
|
||||
<textarea className="area" rows="10" value={value} onChange={onChange} readOnly={readOnly} />
|
||||
export const TextArea = ({value, onChange, readOnly = false, placeholder}) => (
|
||||
<textarea className="area" rows="10" value={value} onChange={onChange} readOnly={readOnly} placeholder={placeholder} />
|
||||
)
|
Reference in New Issue
Block a user