antd-mobile
Version:
基于 React 的移动设计规范实现
16 lines (15 loc) • 482 B
TypeScript
import * as React from 'react';
import { SubMenuProps, SubMenuState } from './propTypes';
export default class SubMenu extends React.Component<SubMenuProps, SubMenuState> {
static defaultProps: {
prefixCls: string;
radioPrefixCls: string;
value: any[];
data: any[];
onChange: () => void;
};
constructor(props: any);
componentWillReceiveProps(nextProps: any): void;
onClick: (el: any) => void;
render(): JSX.Element;
}