carbon-react
Version:
A library of reusable React components for easily building user interfaces.
15 lines (14 loc) • 699 B
TypeScript
import { FlexboxProps, LayoutProps, PaddingProps } from "styled-system";
import type { MenuProps } from "./menu.types";
interface StyledMenuProps extends Pick<MenuProps, "menuType">, FlexboxProps, LayoutProps {
inFullscreenView?: boolean;
}
declare const StyledMenuWrapper: import("styled-components").StyledComponent<"ul", any, StyledMenuProps, never>;
interface StyledMenuItemProps extends Pick<MenuProps, "menuType" | "maxWidth">, PaddingProps {
inFullscreenView?: boolean;
inSubmenu?: boolean;
}
declare const StyledMenuItem: import("styled-components").StyledComponent<"li", any, {
theme: object;
} & StyledMenuItemProps, "theme">;
export { StyledMenuWrapper, StyledMenuItem };