deckgl-typings icon indicating copy to clipboard operation
deckgl-typings copied to clipboard

Allow `viewState` to support decks with multiple views

Open ebbishop opened this issue 4 years ago • 2 comments

DeckProps property viewState can be map of view id strings to different view states

Related to #216

ebbishop avatar Oct 20 '21 15:10 ebbishop

Will this break the strong typing for ViewStateProps? Want to make sure that allowing any key will not catch errors such as transitionDurationWithTypo: ...

danmarshall avatar Oct 20 '21 18:10 danmarshall

Hadn't thought of that - I'll take a look.

ebbishop avatar Oct 25 '21 20:10 ebbishop