ESP8266 Static IP Address Using WiFi.config()

I'm trying to assign a static IP address to my ESP8266. Looking in WiFi.h I find the config() function which looks to do what I want. However, I haven't been able to get the syntax correct for the call. I'm not sure what a variable of type IPAddress should look like. Thanks.