Lager - v5.2.0
    Preparing search index...
    • CoverImage component.

      This component displays an image as the background of a view, with a text header overlaid on top. It supports both local and remote images by dynamically setting the image source based on the type of the image prop. The component is styled using predefined styles from the Style module.

      Parameters

      • props: ScreenCoverArguments

        The component props.

        Defines the properties for the ScreenCover component.

        This interface outlines the structure for the arguments passed to the ScreenCover component, including the image source and header text.

        ScreenCoverArguments

        • headerText: string

          The text to be displayed over the image as a header.

        • image: string

          The source URI of the image to be displayed as the cover. Can be a local or remote URL.

      • OptionaldeprecatedLegacyContext: any

      Returns ReactNode

      A React component representing the cover image with text.