UNPKG

2.46 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Tabs as ArkTabs } from "@ark-ui/react/tabs";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useTabsStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useTabsStyles };
6export interface TabsRootProviderBaseProps extends Assign<ArkTabs.RootProviderBaseProps, SlotRecipeProps<"tabs">>, UnstyledProp {
7}
8export interface TabsRootProviderProps extends HTMLChakraProps<"div", TabsRootProviderBaseProps> {
9}
10export declare const TabsRootProvider: import("react").ForwardRefExoticComponent<TabsRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface TabsRootBaseProps extends Assign<ArkTabs.RootBaseProps, SlotRecipeProps<"tabs">>, UnstyledProp {
12}
13export interface TabsRootProps extends HTMLChakraProps<"div", TabsRootBaseProps> {
14}
15export declare const TabsRoot: import("react").ForwardRefExoticComponent<TabsRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const TabsPropsProvider: React.Provider<TabsRootBaseProps>;
17export interface TabsTriggerProps extends HTMLChakraProps<"button", ArkTabs.TriggerBaseProps> {
18}
19export declare const TabsTrigger: import("react").ForwardRefExoticComponent<TabsTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
20export interface TabsContentProps extends HTMLChakraProps<"div", ArkTabs.ContentBaseProps> {
21}
22export declare const TabsContent: import("react").ForwardRefExoticComponent<TabsContentProps & import("react").RefAttributes<HTMLDivElement>>;
23export interface TabsContentGroupProps extends HTMLChakraProps<"div"> {
24}
25export declare const TabsContentGroup: import("react").ForwardRefExoticComponent<TabsContentGroupProps & import("react").RefAttributes<HTMLDivElement>>;
26export interface TabsListProps extends HTMLChakraProps<"div", ArkTabs.ListBaseProps> {
27}
28export declare const TabsList: import("react").ForwardRefExoticComponent<TabsListProps & import("react").RefAttributes<HTMLDivElement>>;
29export interface TabsIndicatorProps extends HTMLChakraProps<"div", ArkTabs.ListBaseProps> {
30}
31export declare const TabsIndicator: import("react").ForwardRefExoticComponent<TabsIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
32export declare const TabsContext: (props: ArkTabs.ContextProps) => import("react").ReactNode;
33export interface TabsValueChangeDetails extends ArkTabs.ValueChangeDetails {
34}