Add types.string and types.json
This commit is contained in:
parent
52e825549d
commit
92dab1c8f5
9 changed files with 154 additions and 143 deletions
|
|
@ -6,7 +6,7 @@ import filter from "lodash/filter";
|
|||
import keys from "lodash/keys";
|
||||
import merge from "lodash/merge";
|
||||
|
||||
import type { Config, Control, Topics } from "config/types";
|
||||
import type { Config, Control, Topics } from "config/flowtypes";
|
||||
|
||||
import MuiThemeProvider from "material-ui/styles/MuiThemeProvider";
|
||||
import createMuiTheme from "material-ui/styles/createMuiTheme";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import map from "lodash/map";
|
|||
import mapValues from "lodash/mapValues";
|
||||
import parseIconName, { controlGetIcon } from "utils/parseIconName";
|
||||
|
||||
import type { Controls, Control } from "config/types";
|
||||
import type { Controls, Control } from "config/flowtypes";
|
||||
|
||||
export type Point = [number, number];
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import Toolbar from "material-ui/Toolbar";
|
|||
import List from "material-ui/List";
|
||||
import { renderIcon } from "utils/parseIconName";
|
||||
|
||||
import type { Control } from "config/types";
|
||||
import type { Control } from "config/flowtypes";
|
||||
|
||||
export type SideBarProps = {
|
||||
control: ?Control,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import { LinearProgress } from "material-ui/Progress";
|
|||
import type {
|
||||
UIControl, UIToggle, UIDropDown, UILink,
|
||||
UISection, UIText, UIProgress
|
||||
} from "config/types";
|
||||
} from "config/flowtypes";
|
||||
|
||||
import keyOf from "utils/keyOf";
|
||||
import { getInternals, getActuals } from "utils/state";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import {
|
|||
} from "material-ui/List";
|
||||
import { renderIcon } from "utils/parseIconName";
|
||||
|
||||
import type { ControlUI, UIControl, UISlider } from "config/types";
|
||||
import type { ControlUI, UIControl, UISlider } from "config/flowtypes";
|
||||
|
||||
// TODO: Use something else
|
||||
import Slider from "material-ui-old/Slider";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue