I am using Leaflet for maps (US) and in order to style my US States I have to create a style function like below and then apply it to the map.
function style