Skip to content

Commit

Permalink
Fix Price exampel
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Naszalyi committed Oct 29, 2024
1 parent efd31f0 commit 29437b6
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions packages/react/components/price/Price.example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,18 @@ import React from 'react'
import { Price } from './index'
import { Columns, ColumnsItem } from '../columns'

const PriceExample: React.ReactNode =

<Columns>
const PriceExample: React.ReactNode = (
<Columns>
<ColumnsItem>
<Price
align='ALIGNED_START'
amount={24.99}
period='mois'
showCents
/>
<Price align='ALIGNED_START' amount={24.99} period='mois' showCents />
</ColumnsItem>
<ColumnsItem>
<Price
amount={24.99}
mention='(1)'
period='mois'
showCents
strikedAmount={29.99}
/>
<Price amount={24.99} mention='(1)' period='mois' showCents strikedAmount={29.99} />
</ColumnsItem>
<ColumnsItem>
<Price
amount={24.99}
mention='(1)'
period='mois'
showCents
/>
<Price amount={24.99} mention='(1)' period='mois' showCents />
</ColumnsItem>
</Columns>
</Columns>
)

export default PriceExample

0 comments on commit 29437b6

Please sign in to comment.