import React from "react"; import classNames from "classnames"; import { IconAction } from "./action"; export class SearchInput extends React.Component<{ searchText: string; onChange: (event: React.ChangeEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onClear: () => void; }> { render() { return (
{this.props.searchText && ( )}
); } }