1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | 'use strict'
|
7 |
|
8 | import React, {PropTypes as types} from 'react'
|
9 | import classnames from 'classnames'
|
10 |
|
11 |
|
12 | const ApFieldValue = React.createClass({
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | propTypes: {},
|
19 |
|
20 | mixins: [],
|
21 |
|
22 | statics: {},
|
23 |
|
24 | getInitialState () {
|
25 | return {}
|
26 | },
|
27 |
|
28 | getDefaultProps () {
|
29 | return {}
|
30 | },
|
31 |
|
32 | render () {
|
33 | const s = this
|
34 | let { props } = s
|
35 |
|
36 | return (
|
37 | <div className={ classnames('ap-field-value', props.className) }
|
38 | >
|
39 | { props.children }
|
40 | </div>
|
41 | )
|
42 | }
|
43 |
|
44 | })
|
45 |
|
46 | export default ApFieldValue
|