(url: string)
| 8 | |
| 9 | const LocationMessage: React.FC<ILocationMessageProps> = ({ markerColor = 'red', target = '_blank', zoom = '14', ...props }) => { |
| 10 | const buildURL = (url: string) => { |
| 11 | return url |
| 12 | .replace(/LATITUDE/g, props?.data.latitude) |
| 13 | .replace(/LONGITUDE/g, props?.data.longitude) |
| 14 | .replace('MARKER_COLOR', markerColor) |
| 15 | .replace('ZOOM', zoom) |
| 16 | .replace('KEY', props.apiKey) |
| 17 | } |
| 18 | const className = () => { |
| 19 | var _className = classNames('rce-mbox-location', props.className) |
| 20 |
no outgoing calls
no test coverage detected
searching dependent graphs…