evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in SQL and markdown
https://evidence.dev
MIT License
4.49k stars 216 forks source link

[Bug]: AreaMap legend prop does not accept strings #2683

Open hughess opened 4 weeks ago

hughess commented 4 weeks ago

Describe the bug

legend should accept "true" and "false" as arguments. Currently only supports booleans

Steps to Reproduce

attempt to use legend=false. Then try legend={false}

Logs

No response

System Info

No response

Severity

annoyance

Additional Information, or Workarounds

Use curly braces