This allows the user to choose if they want shades to be allowed at all. Defaults to true.
Also controls the onColorChange callback, which can't be used in conjunction with allowShades: false. Users would use only onMainColorChange instead.
I can update the docs and change list if you accept this PR.
This allows the user to choose if they want shades to be allowed at all. Defaults to true. Also controls the
onColorChange
callback, which can't be used in conjunction withallowShades: false
. Users would use onlyonMainColorChange
instead.I can update the docs and change list if you accept this PR.