@easy-shadcn/react
Version:
Use shadcn/ui easy&enhance like component library
15 lines (11 loc) • 531 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsWithChildren } from 'react';
import { L as Locale } from '../interface-DIBv8Y68.js';
import 'date-fns';
type LocaleContextProps = Locale;
type ConfigContextProps = {
locale?: LocaleContextProps;
};
declare const useConfigContext: () => ConfigContextProps;
declare const ConfigProvider: ({ children, ...props }: PropsWithChildren<ConfigContextProps>) => react_jsx_runtime.JSX.Element;
export { type ConfigContextProps, ConfigProvider, useConfigContext };