import * as React from 'react'; import SpreadSheet from '../../../SpreadSheetProvider'; import { IColumn } from '../../../index.data'; const columns: IColumn[] = [{ width: 80, type: 'row-no' }]; const rows = [ { id: 1, i: 0, type: 'body' as any, level: 1, cells: [{ id: 1, j: 0 }], }, { id: 2, i: 1, type: 'body' as any, level: 2, cells: [{ id: 2, j: 0 }], }, { id: 3, i: 2, type: 'body' as any, level: 3, cells: [{ id: 3, j: 0 }], }, { id: 4, i: 3, type: 'body' as any, level: 1, cells: [{ id: 4, j: 0 }], }, ]; class Story extends React.Component<{ env?: 'test' }> { ref = React.createRef(); render() { return (
目的: 检查升降级
); } } export default Story;