This commit is contained in:
syuilo
2018-04-15 02:51:29 +09:00
parent 1464df57fa
commit 986780a39a
3 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,7 @@ fontawesome.library.add(brands);
export const pattern = /%fa:(.+?)%/g;
export const replacement = (_, key) => {
export const replacement = (match, key) => {
const args = key.split(' ');
let prefix = 'fas';
const classes = [];