import { Meta } from '@storybook/addon-docs/blocks';

<Meta title="Docs/Getting Started/Using Storefront Data" />

# Using Storefront Data
Most components leverage data provided by the "Page Objects". You can access the data directly in your component. Use the data viewer (in the toolkit toolbar) to find the content that you want to pass to your component.

The components expose a public interface where you can use the property marketplaceData to list the data to provide to the component. The marketplace data contains the default strings provided.

Example:
```jsx
Resources.schema = () => ({
    name: 'ProductResources',
    marketplaceData: {
        header: 'application.resources.i18n.Resources',
        documents: 'application.resources.public.documents',
        videos: 'application.resources.public.videos'
    }
});
```

