Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Add missing children array
Browse files Browse the repository at this point in the history
Closes GH-51.
  • Loading branch information
wooorm committed Jun 22, 2020
1 parent c2abd18 commit fbcf79f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const behaviors = {prepend: 'unshift', append: 'push'}
const contentDefaults = {
type: 'element',
tagName: 'span',
properties: {className: ['icon', 'icon-link']}
properties: {className: ['icon', 'icon-link']},
children: []
}

const defaults = {behavior: 'prepend', content: contentDefaults}
Expand Down

0 comments on commit fbcf79f

Please sign in to comment.