mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
minor changes
This commit is contained in:
parent
3624ae874f
commit
04c406a288
@ -5,9 +5,11 @@ import React from 'react';
|
||||
import Form from './form';
|
||||
import Property from './property';
|
||||
import InputTextAreaToggable from './input_textarea_toggable';
|
||||
|
||||
import Button from 'react-bootstrap/lib/Button';
|
||||
|
||||
import AppConstants from '../../constants/application_constants';
|
||||
|
||||
import { getLangText } from '../../utils/lang_utils.js';
|
||||
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
import React from 'react';
|
||||
|
||||
import Button from 'react-bootstrap/lib/Button';
|
||||
import Alert from 'react-bootstrap/lib/Alert';
|
||||
|
||||
import Form from './form';
|
||||
import Property from './property';
|
||||
|
@ -7,7 +7,8 @@ import DatePicker from 'react-datepicker/dist/react-datepicker';
|
||||
let InputDate = React.createClass({
|
||||
propTypes: {
|
||||
submitted: React.PropTypes.bool,
|
||||
placeholderText: React.PropTypes.string
|
||||
placeholderText: React.PropTypes.string,
|
||||
onChange: React.PropTypes.func
|
||||
},
|
||||
|
||||
getInitialState() {
|
||||
|
@ -5,7 +5,6 @@ import React from 'react';
|
||||
import TextareaAutosize from 'react-textarea-autosize';
|
||||
|
||||
let InputTextAreaToggable = React.createClass({
|
||||
|
||||
propTypes: {
|
||||
editable: React.PropTypes.bool.isRequired,
|
||||
rows: React.PropTypes.number.isRequired,
|
||||
|
Loading…
Reference in New Issue
Block a user