Add types.string and types.json

This commit is contained in:
uwap 2018-04-02 10:22:43 +02:00
parent 52e825549d
commit 92dab1c8f5
9 changed files with 154 additions and 143 deletions

View file

@ -2,7 +2,7 @@
import * as React from "react";
import { getInternals, getActuals } from "utils/state";
import type { Control } from "config/types";
import type { Control } from "config/flowtypes";
export default function parseIconName(name: string): string {
return `mdi ${name.split(" ").map((icon) => "mdi-".concat(icon)).join(" ")}`;