# Reuse Widgets The `WidgetStatic` React component is a reusable component designed to render various widgets within an application outside of the main Dashboard view. ## Interface Definition - `Props`: An interface defining the expected properties for the `WidgetStatic` component: - `type`: A string representing the type of the widget. - `config`: An object adhering to the `WidgetConfigInterface` containing the configuration settings for the widget. ### type The type prop is a string, that defines which widget should be rendered. ### config The config prop is an Object cotaining the configuration of the widget. It is of type `WidgetConfigInterface` ## JSX Return The component returns a `div` that wraps the rendered widget: The `div` is styled to occupy 100% of the height and width of its container, ensuring the widget fills the available space.