aboutsummaryrefslogtreecommitdiff
path: root/src/hocs/with_list/with_list.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/hocs/with_list/with_list.js')
-rw-r--r--src/hocs/with_list/with_list.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hocs/with_list/with_list.js b/src/hocs/with_list/with_list.js
index 896f8fc8..b187e614 100644
--- a/src/hocs/with_list/with_list.js
+++ b/src/hocs/with_list/with_list.js
@@ -7,14 +7,14 @@ const defaultEntryPropsGetter = entry => ({ entry })
const defaultKeyGetter = entry => entry.id
const withList = ({
- getEntryProps = defaultEntryPropsGetter, // function to accept entry and index values and return props to be passed into the item component
- getKey = defaultKeyGetter // funciton to accept entry and index values and return key prop value
+ getEntryProps = defaultEntryPropsGetter, // function to accept entry and index values and return props to be passed into the item component
+ getKey = defaultKeyGetter // funciton to accept entry and index values and return key prop value
}) => (ItemComponent) => (
Vue.component('withList', {
props: [
- 'entries', // array of entry
- 'entryProps', // additional props to be passed into each entry
- 'entryListeners' // additional event listeners to be passed into each entry
+ 'entries', // array of entry
+ 'entryProps', // additional props to be passed into each entry
+ 'entryListeners' // additional event listeners to be passed into each entry
],
render (createElement) {
return (