Merged in fix/SW-1631-rate-terms-modal (pull request #1699)
fix(SW-1631): add rate terms modal * fix(SW-1631): add rate terms modal Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -18,6 +18,7 @@ const meta: Meta<typeof RegularRateCard> = {
|
||||
memberRate: { control: 'object' },
|
||||
omnibusRate: { control: 'object' },
|
||||
approximateRate: { control: 'object' },
|
||||
rateTermDetails: { control: 'object' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -51,6 +52,12 @@ export const Default: Story = {
|
||||
price: '169',
|
||||
unit: 'EUR',
|
||||
},
|
||||
rateTermDetails: [
|
||||
{
|
||||
title: 'Rate definition 1',
|
||||
terms: ['term 1', 'term 2', 'term 3'],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -76,6 +83,12 @@ export const Selected: Story = {
|
||||
label: 'Approx.',
|
||||
unit: 'EUR',
|
||||
},
|
||||
rateTermDetails: [
|
||||
{
|
||||
title: 'Rate definition 1',
|
||||
terms: ['term 1', 'term 2', 'term 3'],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -101,5 +114,11 @@ export const HidePublicRate: Story = {
|
||||
unit: 'EUR',
|
||||
},
|
||||
hidePublicRate: true,
|
||||
rateTermDetails: [
|
||||
{
|
||||
title: 'Rate definition 1',
|
||||
terms: ['term 1', 'term 2', 'term 3'],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user