UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

22 lines (21 loc) 897 B
import { SubmenuProps } from "./submenu.component"; import type { MenuType } from "../../menu.types"; interface SharedStyleProps { inFullscreenView?: boolean; menuType?: MenuType; } interface StyledSubmenuWrapperProps extends SharedStyleProps { isSubmenuOpen?: boolean; asPassiveItem?: boolean; } interface StyledSubmenuProps extends SharedStyleProps, Pick<SubmenuProps, "variant" | "submenuMaxWidth" | "submenuMinWidth"> { submenuDirection?: string; maxHeight?: string; applyFocusRadiusStyling: boolean; applyFocusRadiusStylingToLastItem: boolean; } declare const StyledSubmenuWrapper: import("styled-components").StyledComponent<"div", any, { theme: object; } & StyledSubmenuWrapperProps, "theme">; declare const StyledSubmenu: import("styled-components").StyledComponent<"ul", any, StyledSubmenuProps, never>; export { StyledSubmenu, StyledSubmenuWrapper };