antd-mobile
Version:
基于 React 的移动设计规范实现
20 lines (19 loc) • 618 B
TypeScript
/// <reference types="react" />
import React from 'react';
import { MenuProps } from './PropsType';
export default class Menu extends React.Component<MenuProps, any> {
static defaultProps: {
prefixCls: string;
subMenuPrefixCls: string;
radioPrefixCls: string;
data: never[];
level: number;
onChange: () => void;
};
constructor(props: any);
componentWillReceiveProps(nextProps: any): void;
getNewFsv(props: any): string;
onClickFirstLevelItem: (dataItem: any) => void;
onClickSubMenuItem: (dataItem: any) => void;
render(): JSX.Element;
}