-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added callbacks for onNext and onPrevious and Alternated by default horizontal timeline #235
base: master
Are you sure you want to change the base?
Conversation
…times, if the title is long, collapses with the nearer one. Updated also app sample.
…ódigo directamente. 1.14.7 para probar a ver si pone el código cambiado arriba.
…-chrono # Conflicts: # package.json
@@ -0,0 +1,6 @@ | |||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should not be checking in the dist folder. is there a specific reason for adding it
/// <reference types="react" /> | ||
import { Theme } from '../../../models/Theme'; | ||
import { TimelineMode } from '../../../models/TimelineModel'; | ||
export declare const TimelineNavWrapper: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
theme?: Theme | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>; | ||
export declare const TimelineNavItem: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
disable?: boolean | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>; | ||
export declare const TimelineNavButton: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
mode?: TimelineMode | undefined; | ||
rotate?: "TRUE" | "FALSE" | undefined; | ||
theme?: Theme | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>; | ||
export declare const TimelineControlContainer: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
flip?: boolean | undefined; | ||
slideShowActive?: boolean | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; | ||
export declare const ControlButton: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
theme?: Theme | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>; | ||
export declare const MediaToggle: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
theme?: Theme | undefined; | ||
} & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & { | ||
children?: import("react").ReactNode; | ||
} & { | ||
theme?: import("@emotion/react").Theme | undefined; | ||
}, {}, {}>; | ||
export declare const ReplayWrapper: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
} & { | ||
theme?: Theme | undefined; | ||
} & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & { | ||
children?: import("react").ReactNode; | ||
} & { | ||
theme?: import("@emotion/react").Theme | undefined; | ||
}, {}, {}>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need to check in the dist folder.
Kudos, SonarCloud Quality Gate passed! |
@@ -22,11 +22,9 @@ npm-debug.log* | |||
yarn-debug.log* | |||
yarn-error.log* | |||
|
|||
/dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR would be ready if this change was removed, that way all the dist
code that was checked would be deleted
Description
Added callbacks for onNext and onPrevious and Alternated by default horizontal timeline
Additional context
It´s been a quick fix to solve a problem for our usage, use it for your need or adapt it :)
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).