1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | 'use strict'
|
7 |
|
8 | import React, {PropTypes as types} from 'react'
|
9 | import classnames from 'classnames'
|
10 | import {ApTouchable} from 'apeman-react-touchable'
|
11 | import {ApIcon} from 'apeman-react-icon'
|
12 |
|
13 |
|
14 | let ApDialogBody = React.createClass({
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | propTypes: {},
|
22 |
|
23 | mixins: [],
|
24 |
|
25 | statics: {},
|
26 |
|
27 | getInitialState () {
|
28 | return {}
|
29 | },
|
30 |
|
31 | getDefaultProps () {
|
32 | return {}
|
33 | },
|
34 |
|
35 | render () {
|
36 | const s = this,
|
37 | {props} = s
|
38 | return (
|
39 | <div className={ classnames('ap-dialog-body', props.className) }
|
40 | style={ Object.assign({}, props.style) }>
|
41 | { props.children }
|
42 | </div>
|
43 | )
|
44 | }
|
45 | })
|
46 |
|
47 | export default ApDialogBody; |
\ | No newline at end of file |