Skip to content

Commit 2f1a054

Browse files
starryeyez024kylebuch8
authored andcommitted
rh-cta-storybook-updates Add knobs for CTA priority (#148)
1 parent 1882d24 commit 2f1a054

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ const stories = storiesOf("Call To Action", module);
66
stories.addDecorator(withKnobs);
77

88
stories.add("rh-cta", () => {
9-
const type = "Type";
9+
const type = "Priority";
1010
const options = {
11-
solid: "Solid",
12-
outlined: "Outlined",
13-
ghost: "Ghost"
11+
default: "default",
12+
primary: "primary",
13+
secondary: "secondary"
1414
};
1515

1616
const defaultValue = "Solid";
@@ -22,7 +22,7 @@ stories.add("rh-cta", () => {
2222
<rh-cta><a href="#">Become a Member</a></rh-cta>
2323
</p>
2424
<p>
25-
<rh-cta class="rh--${value}"><a href="#">Become a Member</a></rh-cta>
25+
<rh-cta priority="${value}"><a href="#">Become a Member</a></rh-cta>
2626
</p>
2727
2828
`;

0 commit comments

Comments
 (0)