File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import { DialogModule } from "../../";
55
66let 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
1616storiesOf ( "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}}
You can’t perform that action at this time.
0 commit comments