This repository was archived by the owner on Jul 12, 2024. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import cx from 'classnames' ;
3
3
import t from 'tcomb' ;
4
- import { props } from 'tcomb-react' ;
4
+ import { props , ReactChildren } from 'tcomb-react' ;
5
5
import View from 'react-flexview' ;
6
6
import { pure , skinnable } from './utils' ;
7
7
@@ -13,7 +13,7 @@ import { pure, skinnable } from './utils';
13
13
nextDate : t . maybe ( t . Function ) ,
14
14
previousDate : t . maybe ( t . Function ) ,
15
15
value : t . union ( [ t . String , t . Number ] ) ,
16
- weekDays : t . maybe ( t . ReactChildren ) ,
16
+ weekDays : t . maybe ( ReactChildren ) ,
17
17
prevIconClassName : t . String ,
18
18
nextIconClassName : t . String
19
19
} )
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import cx from 'classnames' ;
3
3
import t from 'tcomb' ;
4
- import { props } from 'tcomb-react' ;
4
+ import { props , ReactChildren } from 'tcomb-react' ;
5
5
import View from 'react-flexview' ;
6
6
import { pure , skinnable } from './utils' ;
7
7
import { Mode } from './utils/model' ;
8
8
9
9
@pure
10
10
@skinnable ( )
11
11
@props ( {
12
- pickers : t . list ( t . ReactChildren ) ,
12
+ pickers : t . list ( ReactChildren ) ,
13
13
mode : Mode
14
14
} )
15
15
export default class Row extends React . Component {
You can’t perform that action at this time.
0 commit comments