aarondancer / react-isrequiredif

Conditionally require a prop based on other props

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specifying multiple types is broken

aarondancer opened this issue · comments

Currently just casts the array as a string. Should be easy to fix.

JK it's because React doesn't like us passing props as arguments into functions :/