As an example to follow ExitFullScreenButton:
Component and its Props
Defines appearance, provides event handlers.
Container and its Props
Utilizes services, floats button in Kibana.
Services and Provider and Hook
Hook throws error if Context is missing.
Not relying on Kibana contract types**.
Kibana Dependencies and Provider
Destructures, composes dependencies.
Jest Mock and Storybook Mock and Stories
Related to #144944 Due to the Kibana components architecture guidelines, ability to reuse ECS renderers in the Kibana plugins (triggers_actions_ui, observability, discover) and to reduce the bundle size of the security_solution asynchronous chunks we are moving existing renderers to packages. The goal of the current issue is to migrate alert renderer https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/public/timelines/components/timeline/body/renderers/alert_renderer/index.tsx
As an example to follow
ExitFullScreenButton
: Component and its Props Defines appearance, provides event handlers. Container and its Props Utilizes services, floats button in Kibana. Services and Provider and Hook Hook throws error if Context is missing. Not relying on Kibana contract types**. Kibana Dependencies and Provider Destructures, composes dependencies. Jest Mock and Storybook Mock and Stories