import { createElement , BaseComponent } from '@fullcalendar/common' ; import { TimeColsAxisCell } from './TimeColsAxisCell' ; import { TimeSlatMeta } from './time-slat-meta' ; interface TimeBodyAxisProps { slatMetas : TimeSlatMeta [ ] ; } export class TimeBodyAxis extends BaseComponent < TimeBodyAxisProps > { render ( ) { return this . props . slatMetas . map ( ( slatMeta ) => ( < tr key = { slatMeta . key } > < TimeColsAxisCell { ... slatMeta } / > < /tr>)); } }