UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

7 lines (6 loc) 377 B
import { jsx as _jsx } from "react/jsx-runtime"; import { QuickSearchInput } from './QuickSearchInput'; export const QuickSearchViewPanelControl = (props) => { let elementType = props.viewType === 'ToolPanel' ? 'DashboardToolbar' : 'ToolPanel'; return (_jsx(QuickSearchInput, { className: `ab-${elementType}__QuickSearch__text`, inputClassName: "twa:w-[15rem]" })); };