diff --git a/.flowconfig b/.flowconfig new file mode 100644 index 0000000..3fa61fd --- /dev/null +++ b/.flowconfig @@ -0,0 +1,11 @@ +[ignore] + +[include] +src/ + +[libs] +types/types.js + +[options] +esproposal.export_star_as=enable +unsafe.enable_getters_and_setters=true diff --git a/src/UiItems.js b/src/UiItems.js index 0f49157..37e717a 100644 --- a/src/UiItems.js +++ b/src/UiItems.js @@ -82,10 +82,13 @@ const onSliderChange = (state: State, props: ControlUI) => }; export const slider = (state: State, props: ControlUI) => ( +
+ {props.text} +
);