react-onsenui: Fixed type definitions for Carousel and CarouselItem (#29621)

* react-onsenui: Added missing attributes to existing components and on-change event of a Switch.

* react-onsenui: Fixed typo for ProgressBar intermediate --> indeterminate

* react-onsenui: Fixed type for ProgressBar secondaryValue boolean --> number

* react-onsenui: Fixed type definitions for Carousel and CarouselItem: modifier is optional and itemWidth/itemHeight may be string as well.

* react-onsenui: increased version number
This commit is contained in:
salim7
2018-10-11 02:19:48 +02:00
committed by Andy
parent 6ae3761343
commit cd2eb7b120

View File

@@ -1,4 +1,4 @@
// Type definitions for React Onsen UI (react-onsenui) 2.9.4
// Type definitions for React Onsen UI (react-onsenui) 2.9.5
// Project: https://onsen.io/v2/docs/guide/react/
// Definitions by: Ozytis <https://ozytis.fr>,
// Salim <https://github.com/salim7>,
@@ -152,8 +152,8 @@ export class Carousel extends Component<{
fullscreen?: boolean,
overscrollable?: boolean,
centered?: boolean,
itemWidth?: number,
itemHeight?: number,
itemWidth?: number | string,
itemHeight?: number | string,
autoScroll?: boolean,
autoScrollRatio?: number,
swipeable?: boolean,
@@ -167,7 +167,7 @@ export class Carousel extends Component<{
}, any> {}
export class CarouselItem extends Component<{
modifier: string
modifier?: string
}, any> {}
/*** AlertDialog ***/