rexlsx
v0.0.2
Published
Create excel documents with React
Downloads
2
Readme
rexlsx
WIP
Create excel documents with React
Install
$ npm install rexlsx
Usage
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`);
Todo
- [ ] Components: Workbook, Sheet, Row, Col, Cell, Style
- [ ] Add tests
- [ ] Add examples
Report a issue
Reference
- http://www.ecma-international.org/publications/standards/Ecma-376.htm
- https://github.com/d-band/better-xlsx
License
rexlsx is available under the terms of the MIT License.