react-calendar-timeline
Version:
react-calendar-timeline
15 lines (14 loc) • 537 B
TypeScript
import { SubscribeReturn } from '../TimelineMarkersContext';
import { MarkerRendererType, MarkerType } from '../markerType';
type CustomMarkerProps = {
date: number;
children?: MarkerRendererType;
updateMarker: (marker: MarkerType) => void;
subscribeMarker: (newe: MarkerType) => SubscribeReturn;
};
type Props = Pick<CustomMarkerProps, 'date' | 'children'>;
declare const CustomMarkerWrapper: {
(props: Props): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default CustomMarkerWrapper;