import { Meta, Story, ArgsTable, Canvas } from '@storybook/blocks';
import CartAddonPreview from '../CartAddonPreview';
import { cartMock } from '../../../../mocks/cart';
import * as CartAddonPreviewStories from './CartAddonPreview.stories';

<Meta of={CartAddonPreviewStories} />

# CartAddonPreview

<br />

## `CartAddonPreviews` are used to show the current addon added to cart as preview.

<br />

### Default

<Canvas>
  <Story of={CartAddonPreviewStories.Default} />
</Canvas>

## Usage Example

```jsx
import CartAddonPreview from '@appdirect/sfb-theme-components/src/atoms/cart-addon-preview/CartAddonPreview';

<CartAddonPreview />
```

## Props

<ArgsTable of={CartAddonPreview} />
