Files
NapCatQQ/.pnpm-store/v3/files/f9/af10e55ef718f9b6108222e1f4871a6a82c8e2f13b71c57d048e6510fdb2f3d6b327430838598b5ba172e02606eb32177c95cddbf4fdf0ebb93a5f1d416896
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

25 lines
862 B
Plaintext

import { AriaLabelingProps, Orientation, RefObject } from "@react-types/shared";
import { HTMLAttributes } from "react";
export interface AriaToolbarProps extends AriaLabelingProps {
/**
* The orientation of the entire toolbar.
* @default 'horizontal'
*/
orientation?: Orientation;
}
export interface ToolbarAria {
/**
* Props for the toolbar container.
*/
toolbarProps: HTMLAttributes<HTMLElement>;
}
/**
* Provides the behavior and accessibility implementation for a toolbar.
* A toolbar is a container for a set of interactive controls with arrow key navigation.
* @param props - Props to be applied to the toolbar.
* @param ref - A ref to a DOM element for the toolbar.
*/
export function useToolbar(props: AriaToolbarProps, ref: RefObject<HTMLElement | null>): ToolbarAria;
//# sourceMappingURL=types.d.ts.map