import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks';
import ProductBundles from '../ProductBundles';
import { CollapsibleJsonSnippet } from '../../../tools/docTools';
import { productBundleMock } from '../../../../mocks/product/productBundles';

export const productBundleData = productBundleMock.bundle;

<Meta title="Components/Product Bundles" component={ProductBundles} />

# ProductBundles
<br />

## `ProductBundles` are templates to display a bundle of products.
<br />

### Default
<Canvas>
    <Story name="Default">
        <ProductBundles data={productBundleData} />
    </Story>
</Canvas>


## Usage Example
<CollapsibleJsonSnippet
    summary="productBundleData"
    code={productBundleData}
/>

```jsx
import ProductBundles from '@appdirect/sfb-theme-components/src/components/product-bundles/ProductBundles';

<ProductBundles data={productBundleData} />

```

## Props
<ArgsTable of={ProductBundles} />
