Use Vue rendering function
and some refactors
This commit is contained in:
parent
eafb0f61ef
commit
3178bb20c7
14 changed files with 322 additions and 211 deletions
|
|
@ -14,7 +14,7 @@ const elements = [
|
|||
require('./elements/emoji')
|
||||
];
|
||||
|
||||
export default (source: string) => {
|
||||
export default (source: string): any[] => {
|
||||
|
||||
if (source == '') {
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue