From 2931877c9ff1889861c3dafc0ea2753a892dc42e Mon Sep 17 00:00:00 2001 From: Philipp Czora Date: Mon, 17 Sep 2018 14:01:51 +0200 Subject: [PATCH] Added DropDown.js --- scm-ui/src/changesets/components/DropDown.js | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scm-ui/src/changesets/components/DropDown.js diff --git a/scm-ui/src/changesets/components/DropDown.js b/scm-ui/src/changesets/components/DropDown.js new file mode 100644 index 0000000000..28d3ef28f0 --- /dev/null +++ b/scm-ui/src/changesets/components/DropDown.js @@ -0,0 +1,25 @@ +// @flow + +import React from "react"; + +type Props = { + options: string[], + optionSelected: string => void +} + +class DropDown extends React.Component { + render() { + const {options} = this.props; + return + } + + change = (event) => { + this.props.optionSelected(event.target.value); + } +} + +export default DropDown;