stormid / components

UI components
https://stormid.github.io/components/
MIT License
2 stars 2 forks source link

Cookie Banner > Mandatory options? #244

Closed sarah-storm closed 1 year ago

sarah-storm commented 1 year ago

When working with the cookie banner last week I had a situation where I didn't need to run any functions immediately on acceptance, and so omitted the fns parameter from the types option.

This caused an error that was resolved by passing an empty array. I think that each of the parameters in the cookie types might actually be mandatory? And wondered if we could look at at least one of the following at some point: