grafana / grafana-aws-sdk-react

Apache License 2.0
3 stars 1 forks source link

Add Divider component from grafana 10 #70

Closed idastambuk closed 12 months ago

idastambuk commented 1 year ago

This PR is a continuation of form styling migration PR. We couldn't update to G@10 because migration to Node 18 and from toolkit was still ongoing/ This updates Grafana dependencies to 10.2.0 and uses the Divider component from 10 if the Grafana environment running the plugin is >10. Otherwise react will throw an error Expected a string but got undefined in browser. If Grafana< 10 we use a custom divider that looks the same.

Screenshot 2023-11-10 at 16 42 59

Fixes https://github.com/grafana/oss-plugin-partnerships/issues/286