UNPKG
metadata-based-explorer1
Version:
latest (0.1.0)
0.1.0
Box UI Elements
developer.box.com/docs/box-ui-elements
box/box-ui-elements
metadata-based-explorer1
/
es
/
elements
/
content-explorer
/
dateCellRenderer.js.flow
13 lines
(10 loc)
•
273 B
Flow
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** *
@flow
*
@file
Function to render the date table cell *
@author
Box
*/
import
React
from
'react'
;
import
Date
from
'./Date'
;
export
default
() =>
(
{ dataKey, rowData }: { dataKey:
string
, rowData: BoxItem }
) =>
(
<
Date
dataKey
=
{dataKey}
item
=
{rowData}
/>
);