@schema-render/search-table-react
Version:
Conditional search table component.
14 lines (13 loc) • 559 B
TypeScript
import type { IGlobalStateRef, ILocale, ISearchTableProps, ISearchTableRef } from '../typings';
interface IUseTitleParams {
locale: ILocale;
title: ISearchTableProps['title'];
loading: boolean;
globalStateRef: IGlobalStateRef;
runRequest: ISearchTableRef['refresh'];
openSettingModal: ISearchTableRef['openSettingModal'];
}
export default function useTitle({ locale, title, loading, globalStateRef, runRequest, openSettingModal, }: IUseTitleParams): {
titleNodeHolder: import("react/jsx-runtime").JSX.Element | null;
};
export {};