// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import Constants from 'utils/constants.jsx'; import {Tooltip, OverlayTrigger} from 'react-bootstrap'; import PropTypes from 'prop-types'; import React from 'react'; export default function TableChart(props) { return (
{props.title}
{ props.data.map((item) => { const tooltip = ( {item.tip} ); return ( ); }) }
{item.value}
); } TableChart.propTypes = { title: PropTypes.node, data: PropTypes.array };