UNPKG

chowa

Version:

UI component library based on React

26 lines (25 loc) 845 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 { CEvent } from '../tool'; import * as moment from 'moment'; export interface ColumnEventLayoutProps { moms: moment.Moment[]; events: CEvent[][][]; editable: boolean; appendable: boolean; onContextMenu: (mom: moment.Moment, event: CEvent, e: React.MouseEvent) => void; } declare class ColumnEventLayout extends React.PureComponent<ColumnEventLayoutProps, any> { private renderColumnEvents; renderColumn(value: moment.Moment, key: number): JSX.Element; renderAxis(): JSX.Element; render(): JSX.Element; } export default ColumnEventLayout;