import * as React from 'react';

export interface TextBoxProps {
	render: () => JSX.Element;
}

class TextBox extends React.Component<TextBoxProps> {
	render() {
		return this.props.render();
	}
}

export default TextBox;
