import React from 'react'; import { SessionIconButton, SessionIconSize, SessionIconType } from './icon'; interface Props { searchString: string; onChange: any; placeholder: string; } export class SessionSearchInput extends React.Component { public constructor(props: Props) { super(props); } public render() { const { searchString } = this.props; return (
this.props.onChange(e.target.value)} placeholder={this.props.placeholder} />
); } }