From e1d4522f92174d7eb098757bd7274fa8d2e6526e Mon Sep 17 00:00:00 2001 From: Dustin Michels Date: Mon, 7 Nov 2022 23:47:38 -0700 Subject: [PATCH] Update README.md Possible documentation fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3bca478..d5e11732 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ You'll need to know the 2 letter state code ('NY' for New York) or the 3 letter This will draw a world map and fill in IRL (Ireland) with the corresponding `fills.LOW` and USA with `fills.MEDIUM`. -You can also use `fill: color` for each state if you don't want to define a `fillKey`. +You can also use `{key: color}` (eg, `{CA: 'green'}) for each state if you don't want to define a `fillKey`. Colors will be applied in this order: `fillKey`, `fill`, `defaultFill`.