UNPKG

@yandex/ui

Version:

Yandex UI components

21 lines (20 loc) 855 B
/// <reference types="react" /> import './Menu_width_auto.css'; export interface IMenuWidthAutoProps { /** * Ширина меню */ width?: 'auto'; } /** * Модификатор, отвечающий за максимальную ширину меню. * @param {IMenuWidthAutoProps} props */ export declare const withWidthAuto: { <K extends import("@bem-react/core").IClassNameProps = {}>(WrappedComponent: import("react").ComponentType<IMenuWidthAutoProps & K>): (props: IMenuWidthAutoProps & K) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>; __isSimple: boolean; __blockName: string; __mod: string; __value: string | number | boolean | undefined; __passToProps: boolean; };