mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #26149 from sumanla13a/patch-1
React-slick "cannot assign string to 'ondemand' | 'progressive' issue"
This commit is contained in:
Vendored
+3
-1
@@ -25,6 +25,8 @@ export interface ResponsiveObject {
|
||||
|
||||
export type SwipeDirection = "left" | "down" | "right" | "up" | string;
|
||||
|
||||
export type LazyLoadTypes = "ondemand" | "progressive";
|
||||
|
||||
export interface Settings {
|
||||
accessibility?: boolean;
|
||||
adaptiveHeight?: boolean;
|
||||
@@ -49,7 +51,7 @@ export interface Settings {
|
||||
focusOnSelect?: boolean;
|
||||
infinite?: boolean;
|
||||
initialSlide?: number;
|
||||
lazyLoad?: "ondemand" | "progressive";
|
||||
lazyLoad?: LazyLoadTypes;
|
||||
nextArrow?: JSX.Element;
|
||||
onEdge?(swipeDirection: SwipeDirection): void;
|
||||
onInit?(): void;
|
||||
|
||||
Reference in New Issue
Block a user