@@ -5,7 +5,6 @@ import type {
55} from '@guardian/support-dotcom-components/dist/shared/types' ;
66import type { Meta , StoryObj } from '@storybook/react' ;
77import lzstring from 'lz-string' ;
8- import { DesignableBannerUnvalidatedV2 as DesignableBannerV2 } from '../../../banners/designableBanner/DesignableBannerV2' ;
98import { choiceCardsSettings } from '../../../lib/storybook' ;
109import {
1110 contentNoHeading ,
@@ -15,12 +14,13 @@ import {
1514 stringToHexColour ,
1615 tracking ,
1716} from '../../utils/storybook' ;
17+ import { DesignableBannerUnvalidated as DesignableBanner } from '../DesignableBanner' ;
1818
1919type WithJsonProps < T > = T & { json ?: string } ;
20- type Props = WithJsonProps < React . ComponentProps < typeof DesignableBannerV2 > > ;
20+ type Props = WithJsonProps < React . ComponentProps < typeof DesignableBanner > > ;
2121const meta : Meta < Props > = {
22- component : DesignableBannerV2 ,
23- title : 'Components/marketing/DesignableBannerV2 ' ,
22+ component : DesignableBanner ,
23+ title : 'Components/marketing/DesignableBanner ' ,
2424 args : {
2525 ...props ,
2626 json : '' ,
@@ -32,7 +32,7 @@ const meta: Meta<Props> = {
3232
3333 return (
3434 < div >
35- < DesignableBannerV2 { ...args } { ...jsonProps } />
35+ < DesignableBanner { ...args } { ...jsonProps } />
3636 </ div >
3737 ) ;
3838 } ,
@@ -41,7 +41,7 @@ export default meta;
4141
4242type Story = StoryObj < Props > ;
4343export const Default : Story = {
44- name : 'Basic DesignableBannerV2 ' ,
44+ name : 'Basic DesignableBanner ' ,
4545} ;
4646
4747const regularChoiceCardAmounts : SelectedAmountsVariant = {
@@ -194,7 +194,7 @@ export const MainImage: Story = {
194194} ;
195195
196196export const DesignThreeAnimatedHeaderImage : Story = {
197- name : 'DesignableBanner with animated header image' ,
197+ name : 'With animated header image' ,
198198 args : {
199199 ...meta . args ,
200200 content : contentNoHeading ,
0 commit comments