diff --git a/src/DTableCustomizeSearchInput/index.js b/src/DTableCustomizeSearchInput/index.js index 7945e930..861717f9 100644 --- a/src/DTableCustomizeSearchInput/index.js +++ b/src/DTableCustomizeSearchInput/index.js @@ -2,6 +2,8 @@ import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import DTableIcon from '../DTableIcon'; +import { getLocale } from '../lang'; +import DTableToolTip from '../DTableToolTip'; import './index.css'; @@ -105,11 +107,18 @@ class DTableCustomizeSearchInput extends Component { const { isClearable, clearClassName } = this.props; const { searchValue } = this.state; if (!isClearable || !searchValue) return null; - return ( - - - + <> + + + + + {getLocale('Clear')} + + ); };