### Start Development Server for Component
Source: https://github.com/reuters-graphics/graphics-components/blob/main/src/docs/contributing/quickstart.mdx
This command starts the development server using pnpm, enabling you to develop and test your new component. Ensure you have pnpm installed and are in the project's root directory.
```shell
pnpm start
```
--------------------------------
### Documenting Svelte Component Props: FeaturePhoto Example
Source: https://github.com/reuters-graphics/graphics-components/blob/main/src/docs/guides/svelte-components.mdx
This code snippet demonstrates how a Svelte component's props are typically documented, showing an example of the 'FeaturePhoto' component. It includes the import statement and a usage example with various props like src, altText, caption, and width, indicating the expected data types.
```svelte
Photos by MAXAR Technologies, 2021.
{/snippet}The real deal is here.
{/if} ``` -------------------------------- ### ProfileCard Component Usage (Svelte) Source: https://github.com/reuters-graphics/graphics-components/blob/main/src/docs/guides/archieml.mdx Demonstrates how to use the ProfileCard component directly with hardcoded props in a Svelte environment. This serves as a baseline for understanding component structure and expected data types. ```svelte