filestash/client/utilities/textarea.js
2018-03-01 05:03:48 +11:00

26 lines
540 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import { theme } from './theme';
import './textarea.scss';
export class Textarea extends React.Component {
constructor(props){
super(props);
}
render() {
return (
<textarea
{...this.props}
className='component_textarea'
ref={(comp) => { this.ref = comp; }}
></textarea>
);
}
}
Textarea.propTypes = {
type: PropTypes.string,
placeholder: PropTypes.string
};