import React from 'react'; import { TooltipProps, CheckboxProps, InputProps, DropdownProps } from 'neetoui'; import { Filters } from 'neetofilters'; type ColumnData = { dataIndex: string; title: string; key: string; }; type DownloadButtonProps = { count?: number; onClick: () => void; "data-testid"?: string; tooltipProps?: Partial; }; type DataProps = { totalCount?: number; }; type ColumnsButtonProps = { actionBlock?: React.ReactNode; checkboxProps?: Partial; columnData?: ColumnData[]; isSearchable?: boolean; tableKey?: string; noColumnMessage?: string; searchProps?: Partial; }; interface RightBlockComposition { RightBlock: React.FC<{ downloadButtonProps?: DownloadButtonProps; filterProps?: React.ComponentProps; columnsButtonProps?: ColumnsButtonProps & DropdownProps; dataProps?: DataProps; }>; } /** * * The SubHeader component is used alongside the header component to display * * additional information or actions. * * @example * * import SubHeader from "@bigbinary/neeto-molecules/SubHeader"; * * const App = () => ( * * 118 Contacts * * } * rightActionBlock={ * <> *