UNPKG

@schema-render/search-table-react

Version:
14 lines (13 loc) 559 B
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 {};