// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormGroup, Input, Label } from "reactstrap"; export class TextInput extends Component { render() { const {id, label, name, placeholder, onChange, ...rest} = this.props; return ( {label && } ); } } TextInput.propTypes = { id : PropTypes.string, label : PropTypes.string, name : PropTypes.string, placeholder : PropTypes.string, onChange : PropTypes.func };