UNPKG

2.14 kBTypeScriptView Raw
1import '@chakra-ui/accordion';
2import '@chakra-ui/alert';
3import '@chakra-ui/avatar';
4import '@chakra-ui/breadcrumb';
5import '@chakra-ui/button';
6import '@chakra-ui/card';
7import '@chakra-ui/checkbox';
8import '@chakra-ui/close-button';
9import '@chakra-ui/control-box';
10import '@chakra-ui/counter';
11import '@chakra-ui/css-reset';
12import '@chakra-ui/editable';
13import '@chakra-ui/focus-lock';
14import '@chakra-ui/form-control';
15import '@chakra-ui/hooks';
16import '@chakra-ui/icon';
17import '@chakra-ui/image';
18import '@chakra-ui/input';
19import '@chakra-ui/layout';
20import '@chakra-ui/media-query';
21import '@chakra-ui/menu';
22import '@chakra-ui/modal';
23import '@chakra-ui/number-input';
24import '@chakra-ui/pin-input';
25import '@chakra-ui/popover';
26import '@chakra-ui/popper';
27import '@chakra-ui/portal';
28import '@chakra-ui/progress';
29import '@chakra-ui/radio';
30import '@chakra-ui/react-env';
31import '@chakra-ui/select';
32import '@chakra-ui/skeleton';
33import '@chakra-ui/skip-nav';
34import '@chakra-ui/slider';
35import '@chakra-ui/spinner';
36import '@chakra-ui/stat';
37import '@chakra-ui/stepper';
38import '@chakra-ui/switch';
39import '@chakra-ui/system';
40import '@chakra-ui/table';
41import '@chakra-ui/tabs';
42import '@chakra-ui/tag';
43import '@chakra-ui/textarea';
44import '@chakra-ui/theme';
45import '@chakra-ui/theme-utils';
46import { ToastProviderProps } from '@chakra-ui/toast';
47import '@chakra-ui/tooltip';
48import '@chakra-ui/transition';
49import '@chakra-ui/visually-hidden';
50import * as react_jsx_runtime from 'react/jsx-runtime';
51import { ChakraProviderProps as ChakraProviderProps$1 } from '@chakra-ui/provider';
52
53interface ChakraProviderProps extends ChakraProviderProps$1 {
54 /**
55 * Provide defaults for `useToast()` usages for `ChakraProvider`s children
56 */
57 toastOptions?: ToastProviderProps;
58}
59declare const ChakraProvider: ({ children, theme, toastOptions, ...restProps }: ChakraProviderProps) => react_jsx_runtime.JSX.Element;
60declare const ChakraBaseProvider: ({ children, theme, toastOptions, ...restProps }: ChakraProviderProps) => react_jsx_runtime.JSX.Element;
61
62export { ChakraBaseProvider, ChakraProvider, ChakraProviderProps };