Configuring Custom Components via the Manifest
Authors:
Cameron Johns, Cille Schliebitz, Anita Gu
Changed on:
3 Feb 2025
Overview
This lesson focuses on configuring custom components using the Manifest file. We'll demonstrate how to define an interface for your component's properties, allowing it to receive data from the Manifest. Specifically, we'll show how to declare a
`MapCardProps`
`title`
`width`
Key points
- Component Properties Interface: Defining an interface (e.g., ) allows you to specify the data a component can receive, ensuring type safety and clarity.
`MapCardProps`
- Manifest Configuration: The Manifest file is used to configure the properties of custom components. This allows developers to control how components are displayed and function without modifying the component's code directly.
- Dynamic Control: By configuring properties in the Manifest, you can easily change a component's behavior or appearance without recompiling or redeploying the component. This provides flexibility and simplifies updates.
In this lesson, you will learn how to configure your component via the Manifest.
Watch the video below for steps to declare the
`MapCardProps`
`title: string;`
`width: CardWidth;`
Finally, see how to configure these properties in the manifest and have your component use them.
Configuring Properties in the Manifest
This video explains how to configure properties in the manifest