add theme

This commit is contained in:
Harvey Zack committed 2018-10-16 13:15:54 +08:00
1 parent ca0c67499b
commit e8e8f7e8e7
9 files changed
+66 -12

No files matched your search

+5
View File
@@ -70,4 +70,9 @@ export default function verification(option) {
typeof option.loading === 'string',
`'loading' option require 'string' type, but got '${typeof option.loading}'.`
);
errorHandle(
typeof option.theme === 'string',
`'theme' option require 'string' type, but got '${typeof option.theme}'.`
);
}