import React from 'react'; import { observer } from 'mobx-react'; import _ from 'lodash'; interface IVAFChartHeaderProps { ticks: { label: string; offset: number }[]; legendHeight: number; } const VAFChartHeader: React.FunctionComponent = observer( function({ ticks, legendHeight }) { const width = 50; const mqxTickOffset = _(ticks) .map(t => t.offset) .max() || 0; return (
Allele Frequency {ticks.map((tick, index) => { return ( {tick.label} ); })}
); } ); export { VAFChartHeader };