zent
Version:
一套前端设计语言和基于React的实现
20 lines (19 loc) • 520 B
TypeScript
/// <reference types="react" />
interface ITitleProps {
text: string | number;
unit?: string;
onClick?: () => void;
}
export declare const Title: React.FC<ITitleProps>;
interface IPanelHeaderProps {
showSuper?: boolean;
titleNode?: React.ReactNode;
combinedLeft?: boolean;
combinedRight?: boolean;
onPrev: () => void;
onNext: () => void;
onSuperPrev?: () => void;
onSuperNext?: () => void;
}
declare const PanelHeader: React.FC<IPanelHeaderProps>;
export default PanelHeader;