UNPKG

reakit

Version:

Toolkit for building accessible rich web apps with React

21 lines (20 loc) 1.42 kB
/// <reference types="react" /> import { SeparatorOptions, SeparatorHTMLProps } from "../Separator/Separator"; export declare type MenuSeparatorOptions = SeparatorOptions; export declare type MenuSeparatorHTMLProps = SeparatorHTMLProps; export declare type MenuSeparatorProps = MenuSeparatorOptions & MenuSeparatorHTMLProps; export declare const useMenuSeparator: { (options?: SeparatorOptions | undefined, htmlProps?: import("..").RoleHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): import("..").RoleHTMLProps; unstable_propsAreEqual: (prev: import("..").RoleOptions & { orientation?: "horizontal" | "vertical" | undefined; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }, next: import("..").RoleOptions & { orientation?: "horizontal" | "vertical" | undefined; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }) => boolean; __keys: readonly any[]; __useOptions: (options: SeparatorOptions, htmlProps: import("..").RoleHTMLProps) => SeparatorOptions; }; export declare const MenuSeparator: import("reakit-system/ts/createComponent").Component<"hr", SeparatorOptions>;