import React from "react"; import './css.less'; interface Tool { icon: React.ReactNode; tooltip?: string; callback?: () => void; } export interface PreComponentProps { /** 展示文案 */ text: string; /** 文案颜色 */ color: string; /** 获取数据 */ onLoadData: Tool[]; } declare const ProComponent: React.FC; export default ProComponent;