Skip to content
This repository was archived by the owner on Aug 3, 2020. It is now read-only.

Commit 4cdf216

Browse files
committed
default to empty object
1 parent cc9607d commit 4cdf216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default ({name = 'spinner', color = 'grey-light'}) => ({addUtilities, config}) => addUtilities({
1+
export default ({name = 'spinner', color = 'grey-light'} = {}) => ({addUtilities, config}) => addUtilities({
22
[`.${name}`]: {
33
'color': 'transparent !important',
44
'pointer-events': 'none',

0 commit comments

Comments
 (0)