Small preact-based (like React.js) project https://inga-lovinde.github.io/static/komoot-demo/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
332 B

import { exportMarkersToGpx } from '../exporters/gpx';
import type { ExportProps } from './types';
export const ExportComponent = ({ markers }: ExportProps) => {
return (
<>
<button onClick={() => exportMarkersToGpx(markers)}>
Download your route
</button>
</>
);
};