View
The View component wraps the content of every route in the application with a scrolling container and some styling rules.
import { useTheme } from '@shopgate/engage/core';
function MyPageComponent() { const { View } = useTheme();
return ( <View> {/* your page content goes here */} </View> );}| Name | Type | Default | Description |
|---|---|---|---|
| children * | node | The content of the component. | |
| background | string | themeConfig.colors.light |
The background color of the view. |

