Merged in fix/SW-1655-tripadvisor-icon-map (pull request #2695)
fix(SW-1655): update design tripadvisor on hotel map card * fix(SW-1655): update design tripadvisor on hotel map card * fix(SW-1655): update radius * fix(SW-1655): use tripadvisor chip, create different variants * fix(SW-1655): update variants, storybook, and global css Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -14,6 +14,12 @@ const meta: Meta<typeof TripAdvisorChip> = {
|
||||
step: 0.1,
|
||||
},
|
||||
},
|
||||
variant: {
|
||||
control: {
|
||||
type: 'select',
|
||||
},
|
||||
options: ['default', 'small'],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -24,5 +30,13 @@ type Story = StoryObj<typeof TripAdvisorChip>
|
||||
export const PrimaryDefault: Story = {
|
||||
args: {
|
||||
rating: 4.5,
|
||||
variant: 'default',
|
||||
},
|
||||
}
|
||||
|
||||
export const Small: Story = {
|
||||
args: {
|
||||
rating: 4.5,
|
||||
variant: 'small',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user