UNPKG

@easy-shadcn/react

Version:

Use shadcn/ui easy&enhance like component library

15 lines (11 loc) 532 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsWithChildren } from 'react'; import { L as Locale } from '../interface-DIBv8Y68.mjs'; 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 };