@ibrahimrahmani/react-export-excel
Version:
A tool to export dataset from react to excel format.
19 lines (16 loc) • 419 B
JavaScript
import React from "react";
import PropTypes from "prop-types";
export default class ExcelColumn extends React.Component {
static propsTypes = {
label: PropTypes.string.isRequired,
value: PropTypes.oneOfType([
PropTypes.number,
PropTypes.bool,
PropTypes.string,
PropTypes.func
]).isRequired
};
render() {
return null;
}
}