UNPKG

chowa

Version:

UI component library based on React

27 lines (26 loc) 881 B
/** * @license chowa v1.1.3 * * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn). * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; import { Record, CollapseManager } from './tool'; import { MenuProps } from './menu'; export interface RcordBaseProps { collapseManager: CollapseManager; updateCollapseManager: (parentKey: string, key: number) => void; mode: MenuProps['mode']; theme: MenuProps['theme']; activeIndex: React.ReactText; collapse: boolean; setActiveIndex: (index: React.ReactText) => void; inOverlay: boolean; } export interface MenuRecordDispatchProps extends RcordBaseProps { record: Record; } declare const MenuRecordDispatch: React.SFC<MenuRecordDispatchProps>; export default MenuRecordDispatch;