Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 637 Bytes

File metadata and controls

21 lines (14 loc) · 637 Bytes

@mapconductor/react-icons

Marker icon utilities for MapConductor React SDK.

This package is the React/TypeScript port of android-icons.

import { CircleIcon, FlagIcon } from '@mapconductor/react-icons';

const circle = new CircleIcon('#ef4444');
const flag = new FlagIcon('#2563eb');

The info-bubble icons accept an image URL where Android accepts a Drawable.

import { RoundInfoBubbleIcon, RightTailInfoBubbleIcon } from '@mapconductor/react-icons';

const round = new RoundInfoBubbleIcon('/marker.svg', '$197');
const rightTail = new RightTailInfoBubbleIcon('/marker.svg', '5時間37分', '304マイル');