import type { GlobalColorModeProps, ThemeProps } from "../Theme"; import type { ToastProviderProps } from "../Toast"; import type * as G from "../../types/global"; import type { Attributes, ClassName } from "@reshaped/headless"; import type React from "react"; export type Props = { /** Node for inserting children */ children?: React.ReactNode; /** Theme of the application, enables controlled mode */ theme?: NonNullable; /** Default theme of the application, enables uncontrolled mode */ defaultTheme?: NonNullable; /** Default content direction of the application */ defaultRTL?: boolean; /** Color mode of the application, enables controlled mode */ colorMode?: GlobalColorModeProps["mode"]; /** Default color mode of the application, enables uncontrolled mode */ defaultColorMode?: GlobalColorModeProps["defaultMode"]; /** Default viewport size of the application */ defaultViewport?: G.Viewport; /** Global options for the ToastProvider */ toastOptions?: ToastProviderProps["options"]; /** Enable scoped mode for applications not using Reshaped provider at the application root */ scoped?: boolean; /** Additional classname for the root element */ className?: ClassName; /** Additional attributes for the root element */ attributes?: Attributes<"div">; };