-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (24 loc) · 712 Bytes
/
index.js
File metadata and controls
26 lines (24 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from 'react'
import ReactDOM from 'react-dom'
import MultiSelect from './components/Multiselect/Multiselect.jsx'
import Calendar from './components/Calendar/Calendar.jsx'
/*var msProps = {
dataSource:[
{key:'apple',value:'a'},
{key:'oranges',value:'o'},
{key:'mangoes',value:'m'},
{key:'bananas',value:'b'},
{key:'pears',value:'p'}
],
placeHolder:'Select a fruit...',
labelText: 'Your Fruit',
customClass:'large-width',
multiSelect:false
}
ReactDOM.render(<MultiSelect {...msProps}/>, document.querySelector("#content"))
ReactDOM.render(<Calendar customClass='large-width'/>, document.querySelector("#content2"))
*/
module.exports = {
MultiSelect:MultiSelect,
Calendar:Calendar
}