diff --git a/packages/web-components/src/components/content-item/__stories__/content-item.stories.react.tsx b/packages/web-components/src/components/content-item/__stories__/content-item.stories.react.tsx
index 283179ba441..be391ccc880 100644
--- a/packages/web-components/src/components/content-item/__stories__/content-item.stories.react.tsx
+++ b/packages/web-components/src/components/content-item/__stories__/content-item.stories.react.tsx
@@ -35,34 +35,107 @@ const contentItemTypeOptions = {
};
const app =
- ;
-
+
const pictogram = ;
export const Default = (args) => {
@@ -74,17 +147,16 @@ export const Default = (args) => {
pictogramType,
copy,
showCopy,
- ctaStyle,
ctaCopy,
} = args?.ContentItem ?? {};
return (
{type === 'statistics' ? 10% : ``}
{type === 'pictogram' ? pictogramType === 'pictogram'
- ? pictogram
- : pictogramType === 'app icon'
- ? app
- : ``
+ ? pictogram
+ : pictogramType === 'app icon'
+ ? app
+ : ``
: ``}
{type === 'media'
? mediaType === 'image'
@@ -103,16 +175,12 @@ export const Default = (args) => {
) : ``}
{heading}
{showCopy ? {copy} : ''}
- {ctaStyle === 'text' ? (
{ctaCopy}
- ) : (
- ''
- )}
);
};
@@ -165,7 +233,6 @@ export default {
'This area of NLP takes "real world" text and applies a symbolic ' +
'system for a machine to interpret its meaning, using formal logic; structures ' +
'that describe the various relationships between concepts (ontologies); and other semantic tools.',
- ctaStyle: select('CTA style:', ['text', 'button'], 'text'),
ctaCopy: textNullable('CTA copy:', 'Learn more about NLP'),
};
},
diff --git a/packages/web-components/src/components/content-item/__stories__/content-item.stories.ts b/packages/web-components/src/components/content-item/__stories__/content-item.stories.ts
index 9b677507876..03e6e89b603 100644
--- a/packages/web-components/src/components/content-item/__stories__/content-item.stories.ts
+++ b/packages/web-components/src/components/content-item/__stories__/content-item.stories.ts
@@ -135,7 +135,6 @@ export const Default = (args) => {
pictogramType,
copy,
showCopy,
- ctaStyle,
ctaCopy,
} = args?.ContentItem ?? {};
console.log(type, mediaType);
@@ -174,16 +173,12 @@ export const Default = (args) => {
${showCopy
? html` ${copy} `
: ``}
- ${ctaStyle === 'text'
- ? html`
- ${ctaCopy}
- `
- : ``}
+ ${ctaCopy}
`;
};
@@ -234,7 +229,6 @@ export default {
'This area of NLP takes "real world" text and applies a symbolic ' +
'system for a machine to interpret its meaning, using formal logic; structures ' +
'that describe the various relationships between concepts (ontologies); and other semantic tools.',
- ctaStyle: select('CTA style:', ['text', 'button'], 'text'),
ctaCopy: textNullable('CTA copy:', 'Learn more about NLP'),
};
},