react-map-portugal-svg

    0.2.6 • Public • Published

    react-map-portugal-svg 🇵🇹

    Demo

    https://orivelton.github.io/react-map-portugal-svg/?path=/docs/mapportugalsvg--default

    Install

    npm install --save react-map-portugal-svg
    # or
    yarn add react-map-portugal-svg

    Usage

    import { MapPortugalSvg } from 'react-map-portugal-svg'
    
    <MapPortugalSvg /> 

    Props

    Name Type Description Default
    mapColor - - #FFFFFF
    hoverCircle - - #EF6060
    selectedColor - - #000000
    width - - 100%
    multipleSelect - - false
    hoverBorderSize - - 2
    setSelected function (useState) - []

    License

    MIT © Orivelton César

    Install

    npm i react-map-portugal-svg

    DownloadsWeekly Downloads

    12

    Version

    0.2.6

    License

    MIT

    Unpacked Size

    196 kB

    Total Files

    5

    Last publish

    Collaborators

    • orivelton