import * as React from 'react'; import { CustomTrackSpecification } from './CustomTrack'; import { TimelineStore } from './TimelineStore'; import classNames from 'classnames'; interface ICustomTrackHeaderProps { store: TimelineStore; specification: CustomTrackSpecification; handleTrackHover: (e: React.MouseEvent) => void; disableHover?: boolean; } const CustomTrackHeader: React.FunctionComponent = function({ store, specification, handleTrackHover, disableHover, }: ICustomTrackHeaderProps) { return (
{specification.renderHeader(store)}
); }; export default CustomTrackHeader;