Skip to content

Commit 6afcc83

Browse files
authored
Merge pull request #229 from RHElements/issue-219-rh-cta-example
Fix cta example markup
2 parents 25db7a8 + fffdde9 commit 6afcc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/rh-cta/rh-cta.story.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ stories.add("rh-cta", () => {
5252
</section>
5353
<section>
5454
<h2>Markup</h2>
55-
<pre><code>&lt;rh-cta${valueAttr}${colorAttr}&gt;${textValue}&lt;/rh-cta&gt;</code></pre>
55+
<pre><code>&lt;rh-cta${valueAttr}${colorAttr}&gt;&lt;a href="#"&gt;${textValue}&lt;/a&gt;&lt;/rh-cta&gt;</code></pre>
5656
</section>
5757
<section>
5858
<h2>At a glance</h2>

0 commit comments

Comments
 (0)