import React from 'react'; import './icons/iconfont.js'; import Excel, { ToolBar, toolBarColorType, ExcelConfig, SheetSetting, BottomBar } from 'kgsheet'; import 'antd/dist/antd.css'; import './index.css'; interface Sheet { flag: number; color: (name: toolBarColorType) => string; sheet: Excel | null; setSheet: (v: Excel) => void; toolBar: ToolBar | null; bottomBar: BottomBar | null; setToolBar: (v: ToolBar) => void; } export declare const SheetContext: React.Context; export interface SheetProps { defaultData?: ExcelConfig; config?: SheetSetting; } export interface RefType { getData: () => ExcelConfig; setData: (v: ExcelConfig) => void; } declare const Main: React.ForwardRefExoticComponent>; export default Main; export * from 'kgsheet';