UNPKG
yii-react-gridview
Version:
latest (0.5.14)
0.5.14
0.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.1.0
React render of Yii gridview
github.com/sufitman/yii-react-gridview
sufitman/yii-react-gridview
yii-react-gridview
/
src
/
table
/
components
/
Caption.js
14 lines
(11 loc)
•
275 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* @flow */
import
*
as
React
from
'react'
;
type
CaptionProps
= {
text
:
string
,
options
: {}, }
export
default
class
Caption
extends
React.Component
<
CaptionProps
> {
render
():
React
.
Node
{
return
<
caption
{
...this.props.options
} >
{this.props.text}
</
caption
>
; } }