kibana/packages/react
Cee Chen b63a50067f
[KibanaEuiProvider] Fix missing modify prop not being passed down to EuiProvider (#186055)
## Summary

`KibanaEuiProvider` is typed to accept `modify` here:
0780c19322/packages/react/kibana_context/root/eui_provider.tsx (L21)

Which should allow Kibana plugins to set custom plugin-wide EUI theme
tokens, e.g. custom breakpoints and so forth.

Unfortunately it looks like the `modify` prop was missed during prop
destructuring, allowing devs to set it in Kibana but resulting it in not
being actually passed down to the underlying `EuiProvider`. This PR
fixes that.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
2024-06-11 20:39:24 -07:00
..
kibana_context [KibanaEuiProvider] Fix missing modify prop not being passed down to EuiProvider (#186055) 2024-06-11 20:39:24 -07:00
kibana_mount Add explicit children types (#181257) 2024-04-29 16:56:41 +01:00