File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
generatedTypes/components Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ import { ReactNode } from 'react' ;
1
2
import { CarouselProps , CarouselState } from './types' ;
2
- export declare function getChildrenLength ( props : CarouselProps ) : number ;
3
+ declare type PropsWithChildren = CarouselProps & {
4
+ children ?: ReactNode ;
5
+ } ;
6
+ export declare function getChildrenLength ( props : PropsWithChildren ) : number ;
3
7
export declare function calcOffset ( props : CarouselProps , state : Omit < CarouselState , 'initialOffset' | 'prevProps' > ) : {
4
8
x : number ;
5
9
y : number ;
6
10
} ;
7
11
export declare function calcPageIndex ( offset : number , props : CarouselProps , pageSize : number ) : number ;
8
12
export declare function isOutOfBounds ( offset : number , props : CarouselProps , pageWidth : number ) : boolean ;
13
+ export { } ;
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ declare type PropsTypes = BaseComponentInjectedProps & ForwardRefInjectedProps &
35
35
* @extends : Text
36
36
* @extendsLink : https://facebook.github.io/react-native/docs/text.html
37
37
* @modifiers : margins, color, typography
38
+ * @example : https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TextScreen.js
38
39
*/
39
40
declare class Text extends PureComponent < PropsTypes > {
40
41
static displayName : string ;
You can’t perform that action at this time.
0 commit comments