UNPKG

2.6 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { SegmentGroup as ArkSegmentGroup } from "@ark-ui/react/segment-group";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useSegmentGroupStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useSegmentGroupStyles };
6export interface SegmentGroupRootProviderBaseProps extends Assign<ArkSegmentGroup.RootProviderBaseProps, SlotRecipeProps<"segmentGroup">>, UnstyledProp {
7}
8export interface SegmentGroupRootProviderProps extends HTMLChakraProps<"div", SegmentGroupRootProviderBaseProps> {
9}
10export declare const SegmentGroupRootProvider: import("react").ForwardRefExoticComponent<SegmentGroupRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface SegmentGroupRootBaseProps extends Assign<ArkSegmentGroup.RootBaseProps, SlotRecipeProps<"segmentGroup">>, UnstyledProp {
12}
13export interface SegmentGroupRootProps extends HTMLChakraProps<"div", SegmentGroupRootBaseProps> {
14}
15export declare const SegmentGroupRoot: import("react").ForwardRefExoticComponent<SegmentGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const SegmentGroupPropsProvider: React.Provider<SegmentGroupRootBaseProps>;
17export interface SegmentGroupItemProps extends HTMLChakraProps<"label", ArkSegmentGroup.ItemBaseProps> {
18}
19export declare const SegmentGroupItem: import("react").ForwardRefExoticComponent<SegmentGroupItemProps & import("react").RefAttributes<HTMLLabelElement>>;
20export interface SegmentGroupItemTextProps extends HTMLChakraProps<"span", ArkSegmentGroup.ItemTextBaseProps> {
21}
22export declare const SegmentGroupItemText: import("react").ForwardRefExoticComponent<SegmentGroupItemTextProps & import("react").RefAttributes<HTMLSpanElement>>;
23export interface SegmentGroupIndicatorProps extends HTMLChakraProps<"div", ArkSegmentGroup.IndicatorBaseProps> {
24}
25export declare const SegmentGroupIndicator: import("react").ForwardRefExoticComponent<SegmentGroupIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
26export declare const SegmentGroupItemHiddenInput: import("react").ForwardRefExoticComponent<ArkSegmentGroup.ItemHiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
27export declare const SegmentGroupContext: (props: ArkSegmentGroup.ContextProps) => import("react").ReactNode;
28export declare const SegmentGroupItemContext: (props: ArkSegmentGroup.ItemContextProps) => import("react").ReactNode;
29export interface SegmentGroupValueChangeDetails extends ArkSegmentGroup.ValueChangeDetails {
30}