From 164c055e7c5a209fc19365579dbce30e9ba3b275 Mon Sep 17 00:00:00 2001 From: frab1t <33671357+frab1t@users.noreply.github.com> Date: Wed, 8 May 2019 16:17:26 +0200 Subject: [PATCH] add dropdown component --- src/components/DropDown.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/components/DropDown.js diff --git a/src/components/DropDown.js b/src/components/DropDown.js new file mode 100644 index 0000000..6001337 --- /dev/null +++ b/src/components/DropDown.js @@ -0,0 +1,33 @@ +import React, { Component } from 'react'; +import { Input } from 'reactstrap'; + + +class DropDown extends Component { + constructor(props) { + super(props); + + this.state = {}; + } + + render() { + let options = this.props.options; + options = options.map((opt) => { + return + }); + console.log('reh'); + + return( + + + { options } + + ); + } +} + +export default DropDown; \ No newline at end of file