Skip to content

Commit

Permalink
style(lib): prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Mar 27, 2021
1 parent 3b4bc36 commit e6101b1
Show file tree
Hide file tree
Showing 2 changed files with 10,784 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/styl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ const styl = <Comp extends ComponentType<any>>(Component: Comp) => <
return createElement(as || Component, {
...restProps,
ref,
style: [ styles, ...(Array.isArray(inlineStyles) ? inlineStyles : [inlineStyles]) ],
style: [
styles,
...(Array.isArray(inlineStyles) ? inlineStyles : [inlineStyles]),
],
})
}
)
Expand Down
Loading

0 comments on commit e6101b1

Please sign in to comment.