Skip to content

Commit

Permalink
feat: export props from ProductListPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni-Schroevers committed Jul 12, 2023
1 parent bffdff6 commit e4cf01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/thick-fans-clean.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@graphcommerce/magento-product': patch
---

Export props from ProductPagePrice
Export props from ProductPagePrice and ProductListPrice
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { classes, selectors } = extendableComponent('ProductListPrice', [
'discountPrice',
] as const)

type ProductListPriceProps = ProductListPriceFragment & Pick<TypographyProps, 'sx'>
export type ProductListPriceProps = ProductListPriceFragment & Pick<TypographyProps, 'sx'>

export function ProductListPrice(props: ProductListPriceProps) {
const { regular_price, final_price, sx } = props
Expand Down

0 comments on commit e4cf01d

Please sign in to comment.