@react-md/menu
Version:
Create menus that auto-position themselves within the viewport and adhere to the accessibility guidelines
9 lines (8 loc) • 335 B
TypeScript
import { ReactElement, ReactNode } from "react";
export interface ToggleChildrenProps {
children?: ReactNode;
visible: boolean;
dropdownIcon: ReactNode;
disableDropdownIcon: boolean;
}
export declare function ToggleChildren({ dropdownIcon, disableDropdownIcon, children, visible, }: ToggleChildrenProps): ReactElement;