/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 *
 * OpenCRVS is also distributed under the terms of the Civil Registration
 * & Healthcare Disclaimer located at http://opencrvs.org/license.
 *
 * Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
 */
import * as React from 'react'

export function MapPin(
  props: React.SVGProps<SVGSVGElement> & { color?: string }
) {
  return (
    <svg width={18} height={20} viewBox="0 0 18 20" fill="none" {...props}>
      <path
        clipRule="evenodd"
        d="M15.75 8.5c0 5.25-6.75 9.75-6.75 9.75s-6.75-4.5-6.75-9.75a6.75 6.75 0 0113.5 0v0z"
        stroke={props.color ? props.color : '#4C68C1'}
        strokeWidth={2}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        clipRule="evenodd"
        d="M9 10.75a2.25 2.25 0 100-4.5 2.25 2.25 0 000 4.5z"
        stroke={props.color ? props.color : '#4C68C1'}
        strokeWidth={2}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  )
}
