WIP
Create excel documents with React
$ npm install rexlsx
import React from 'react';
import { render, Workbook, Sheet, Row, Col, Cell } from 'rexlsx';
class App extends React.Component {
render() {
return (
<Workbook>
<Sheet name="Sheet 1">
<Row>
<Col>
<Cell>Hello world</Cell>
<Col>
</Row>
</Sheet>
</Workbook>
)
}
}
render(<App />, `${__dirname}/example.xlsx`);
- Components: Workbook, Sheet, Row, Col, Cell, Style
- Add tests
- Add examples
- http://www.ecma-international.org/publications/standards/Ecma-376.htm
- https://github.com/d-band/better-xlsx
rexlsx is available under the terms of the MIT License.