UNPKG

@teamsnap/teamsnap-ui

Version:

a CSS component library for TeamSnap

33 lines (32 loc) 884 B
/** * @name TextArea * * @description * A generic wrapper component for the native textarea html element. * * @example * <TextArea * name='BatchInvoiceDescription' /> * */ import * as React from "react"; import * as PropTypes from "prop-types"; declare class TextArea extends React.PureComponent<PropTypes.InferProps<typeof TextArea.propTypes>, any> { static propTypes: { name: PropTypes.Validator<string>; inputProps: PropTypes.Requireable<object>; className: PropTypes.Requireable<string>; mods: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; otherProps: PropTypes.Requireable<object>; }; static defaultProps: { inputProps: {}; className: string; mods: any; style: {}; otherProps: {}; }; render(): JSX.Element; } export default TextArea;