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' ;
12import { 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 ;
37export declare function calcOffset ( props : CarouselProps , state : Omit < CarouselState , 'initialOffset' | 'prevProps' > ) : {
48 x : number ;
59 y : number ;
610} ;
711export declare function calcPageIndex ( offset : number , props : CarouselProps , pageSize : number ) : number ;
812export 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 &
3535 * @extends : Text
3636 * @extendsLink : https://facebook.github.io/react-native/docs/text.html
3737 * @modifiers : margins, color, typography
38+ * @example : https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TextScreen.js
3839 */
3940declare class Text extends PureComponent < PropsTypes > {
4041 static displayName : string ;
You can’t perform that action at this time.
0 commit comments