UNPKG

zent

Version:

一套前端设计语言和基于React的实现

17 lines (13 loc) 385 B
import { createContext } from 'react'; import { IDisabledTime, IShowTime } from '../types'; export interface IPanelContext { // date panel showTime?: IShowTime; onHover?: (val: Date) => void; // time panel visibleChange?: boolean; confirmStatus?: boolean; isDisabledCurrent?: boolean; disabledTime?: IDisabledTime; } export default createContext<IPanelContext>({});