Skip to content
Snippets Groups Projects
Commit 8c31320e authored by Glenn Vorhes's avatar Glenn Vorhes
Browse files

use default react imports

parent 6850c80b
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ export interface iSlider {
}
export declare class Slider extends React.Component<iSlider, {}> {
static defaultProps: {
change: (d: number) => void;
steps: any;
animate: any;
defaultAnimationInterval: any;
......
......@@ -146,6 +146,7 @@ class Slider extends React.Component {
}
}
Slider.defaultProps = {
change: (d) => { },
steps: null,
animate: null,
defaultAnimationInterval: null,
......
This diff is collapsed.
......@@ -18,6 +18,7 @@ export interface iSlider {
export class Slider extends React.Component<iSlider, {}> {
static defaultProps = {
change: (d: number) => {},
steps: null,
animate: null,
defaultAnimationInterval: null,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment