Skip to content

Commit 3695d06

Browse files
committed
Address code review feedback
1 parent 8d57411 commit 3695d06

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/dialog/overflow-menu/overflow-menu.stories.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import { DialogModule } from "../../";
55

66
let options;
77

8-
cost createOptions = (count: number): Array<string> => {
8+
function createOptions(count: number): Array<string> {
99
if (options && count === options.length) {
1010
return options;
1111
}
1212
options = Array(count).fill(0).map((x, i) => "Option " + (i+1));
1313
return options;
14-
};
14+
}
1515

1616
storiesOf("Overflow Menu", module)
1717
.addDecorator(
@@ -59,7 +59,10 @@ storiesOf("Overflow Menu", module)
5959
}))
6060
.add("Dynamic", () => ({
6161
template: `
62-
<span>Dynamic OverflowMenu, using the optionCount knob to change the number of menu options</span>
62+
<span>
63+
Dynamic <code style="font-family: monospace;">OverflowMenu</code>, using the <code style="font-family: monospace;">optionCount</code> knob <br/>
64+
to change the number of menu options
65+
</span>
6366
<ibm-overflow-menu>
6467
<ibm-overflow-menu-option *ngFor="let option of options(optionCount)">
6568
{{option}}

0 commit comments

Comments
 (0)