tw-table
Version:
table designed with tailwind and tanstack-table.
13 lines (12 loc) • 411 B
TypeScript
import React, { ReactNode } from 'react';
import { UITexts } from '../constants/texts';
import { DeepPartial } from '../types/DeepPartial';
declare type Props = {
children: ReactNode;
texts: DeepPartial<UITexts>;
};
export declare const useLabels: () => {
texts: UITexts;
};
declare const LabelsProvider: ({ children, texts }: Props) => React.JSX.Element;
export default LabelsProvider;