File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -134,14 +134,14 @@ export default App
134134
135135## 4. Localization
136136
137- Easy to localize component by passing prop ` languageOverwrite ` . Default values are as below.
137+ Easy to localize component by passing object to prop ` languageOverwrite ` . Default values are as below.
138138
139139``` json
140140{
141- "selectionLimitReached" : " Max selection limit reached." ,
142- "selectionShowClearText" : " Clear All" ,
143- "selectionDeleteTitle" : " Remove selection" ,
144- "moreItemsText" : " {{count}} more items..."
141+ "selectionLimitReached" : " Max selection limit reached." ,
142+ "selectionShowClearText" : " Clear All" ,
143+ "selectionDeleteTitle" : " Remove selection" ,
144+ "moreItemsText" : " {{count}} more items..."
145145}
146146```
147147
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default {
3434 docs : {
3535 description : {
3636 component : `
37- Warning: In this demo I used nearly 43,000 cities around the world as options.
37+ Warning: In this demo I used nearly 43,000 city names around the world as options.
3838 To prevent Storybook from overload and crash, I had to disable the
3939 options parameter on Storybook. Also, clicking "Show code" under the component,
4040 could cause to freeze your browser too. 🥶
@@ -47,17 +47,14 @@ export default {
4747 table : {
4848 disable : true
4949 }
50- } ,
51- options_disabled : {
52-
5350 }
5451 }
5552} as ComponentMeta < typeof MultiSelectAdvanced >
5653
5754const Template : ComponentStory < typeof MultiSelectAdvanced > = args => < div style = { { fontFamily :'Verdana' } } > < MultiSelectAdvanced { ...args } /> </ div >
5855
59- export const Default = Template . bind ( { } )
60- Default . args = {
56+ export const BasicUsage = Template . bind ( { } )
57+ BasicUsage . args = {
6158 options : options . cities ,
6259 selectedValues : selectedCities
6360}
You can’t perform that action at this time.
0 commit comments