Open mattrunyon opened 1 year ago
We should also pass the type
through to the WidgetView
component: https://github.com/deephaven/web-client-ui/blob/77bea7d2badbc37eb3259a85873d6f900a07be14/packages/plugin/src/WidgetView.tsx#L25
Right now if you have a view registered for multiple types (e.g. providing multiple values to the supportedTypes
prop in WidgetPlugin
config), there's no way from the view to determine what type you're being asked to rendered.
Most likely just need to support an array of config objects as an option for plugin configs