import React from 'react'

import { BaseIcon, BaseIconDefaultProps, Icon } from '../_utils/icon'

export const PhotoIcon = (props: Icon) => (
  <BaseIcon {...props}>
    <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
      <path
        d="M12.1304348,15.8478261 C14.3858496,15.8478261 16.4869421,16.1603304 18.3981819,16.6875689 C20.1291113,17.1650667 21.326087,18.7326722 21.326087,20.526087 L21.326087,21.5652174 C21.326087,21.8413598 21.1022293,22.0652174 20.826087,22.0652174 L3.43478261,22.0652174 C3.15864023,22.0652174 2.93478261,21.8413598 2.93478261,21.5652174 L2.93478261,20.526087 C2.93478261,18.7333414 4.13103821,17.1672554 5.86235915,16.6876597 C7.76760196,16.1606776 9.87274406,15.8478261 12.1304348,15.8478261 Z M12.1304348,16.8478261 C9.96743245,16.8478261 7.9510311,17.1474896 6.12913128,17.6514193 C4.83035958,18.011194 3.93478261,19.1836445 3.93478261,20.526087 L3.93478261,21.0652174 L20.326087,21.0652174 L20.326087,20.526087 C20.326087,19.1830795 19.4300302,18.0095691 18.1322529,17.6515615 C16.3038509,17.1471748 14.2912087,16.8478261 12.1304348,16.8478261 Z M3.43478261,10.6304348 C3.71092498,10.6304348 3.93478261,10.8542924 3.93478261,11.1304348 L3.93478261,13.2391304 L6.04347826,13.2391304 C6.31962064,13.2391304 6.54347826,13.4629881 6.54347826,13.7391304 C6.54347826,14.0152728 6.31962064,14.2391304 6.04347826,14.2391304 L3.43478261,14.2391304 C3.15864023,14.2391304 2.93478261,14.0152728 2.93478261,13.7391304 L2.93478261,11.1304348 C2.93478261,10.8542924 3.15864023,10.6304348 3.43478261,10.6304348 Z M20.826087,10.6304348 C21.1022293,10.6304348 21.326087,10.8542924 21.326087,11.1304348 L21.326087,13.7391304 C21.326087,14.0152728 21.1022293,14.2391304 20.826087,14.2391304 L18.2173913,14.2391304 C17.9412489,14.2391304 17.7173913,14.0152728 17.7173913,13.7391304 C17.7173913,13.4629881 17.9412489,13.2391304 18.2173913,13.2391304 L20.326087,13.2391304 L20.326087,11.1304348 C20.326087,10.8542924 20.5499446,10.6304348 20.826087,10.6304348 Z M12.1304348,2.80434783 C14.8065772,2.80434783 16.9782609,4.97603154 16.9782609,7.65217391 L16.9782609,8.52173913 C16.9782609,11.1978815 14.8065772,13.3695652 12.1304348,13.3695652 C9.45429241,13.3695652 7.2826087,11.1978815 7.2826087,8.52173913 L7.2826087,7.65217391 C7.2826087,4.97603154 9.45429241,2.80434783 12.1304348,2.80434783 Z M12.1304348,3.80434783 C10.0065772,3.80434783 8.2826087,5.52831629 8.2826087,7.65217391 L8.2826087,8.52173913 C8.2826087,10.6455968 10.0065772,12.3695652 12.1304348,12.3695652 C14.2542924,12.3695652 15.9782609,10.6455968 15.9782609,8.52173913 L15.9782609,7.65217391 C15.9782609,5.52831629 14.2542924,3.80434783 12.1304348,3.80434783 Z M6.04347826,1.93478261 C6.31962064,1.93478261 6.54347826,2.15864023 6.54347826,2.43478261 C6.54347826,2.71092498 6.31962064,2.93478261 6.04347826,2.93478261 L3.93478261,2.93478261 L3.93478261,5.04347826 C3.93478261,5.31962064 3.71092498,5.54347826 3.43478261,5.54347826 C3.15864023,5.54347826 2.93478261,5.31962064 2.93478261,5.04347826 L2.93478261,2.43478261 C2.93478261,2.15864023 3.15864023,1.93478261 3.43478261,1.93478261 L6.04347826,1.93478261 Z M20.826087,1.93478261 C21.1022293,1.93478261 21.326087,2.15864023 21.326087,2.43478261 L21.326087,5.04347826 C21.326087,5.31962064 21.1022293,5.54347826 20.826087,5.54347826 C20.5499446,5.54347826 20.326087,5.31962064 20.326087,5.04347826 L20.326087,2.93478261 L18.2173913,2.93478261 C17.9412489,2.93478261 17.7173913,2.71092498 17.7173913,2.43478261 C17.7173913,2.15864023 17.9412489,1.93478261 18.2173913,1.93478261 L20.826087,1.93478261 Z"
        fill={props.iconColor}
      />
    </g>
  </BaseIcon>
)

PhotoIcon.defaultProps = BaseIconDefaultProps
