Use Vue rendering function
and some refactors
This commit is contained in:
@@ -14,7 +14,7 @@ const elements = [
|
||||
require('./elements/emoji')
|
||||
];
|
||||
|
||||
export default (source: string) => {
|
||||
export default (source: string): any[] => {
|
||||
|
||||
if (source == '') {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user