UNPKG

fixed-react-data-grid-custom

Version:

Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like

25 lines (21 loc) 461 B
const React = require('react'); const Draggable = require('./Draggable'); require('../../../themes/react-data-grid-header.css'); const style = { position: 'absolute', top: 0, right: 0, width: 6, height: '100%' }; class ResizeHandle extends React.Component { render() { return ( <Draggable {...this.props} className="react-grid-HeaderCell__resizeHandle" style={style} /> ); } } module.exports = ResizeHandle;