Compare commits
No commits in common. "22587e4e2ac262d192aacc8b02e6f3fb1fa44a0f" and "7548ddcbc51d52a4eaffe88d1076aa58f8f00fd9" have entirely different histories.
22587e4e2a
...
7548ddcbc5
|
@ -1,4 +0,0 @@
|
||||||
rules:
|
|
||||||
import/no-extraneous-dependencies:
|
|
||||||
- error
|
|
||||||
- devDependencies: true
|
|
|
@ -9,6 +9,9 @@ import style from './Countdown.sass';
|
||||||
export default class Countdown extends React.Component {
|
export default class Countdown extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
date: PropTypes.instanceOf(moment).isRequired,
|
date: PropTypes.instanceOf(moment).isRequired,
|
||||||
|
locale: PropTypes.string,
|
||||||
|
minimumIntegerDigits: PropTypes.number,
|
||||||
|
useGrouping: PropTypes.bool,
|
||||||
getNow: PropTypes.func,
|
getNow: PropTypes.func,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -54,6 +57,7 @@ export default class Countdown extends React.Component {
|
||||||
|
|
||||||
const size = 160; // @HACK
|
const size = 160; // @HACK
|
||||||
|
|
||||||
|
const { locale, minimumIntegerDigits, useGrouping } = this.props;
|
||||||
return (
|
return (
|
||||||
<div className={style.countdown}>
|
<div className={style.countdown}>
|
||||||
<ProgressCircle size={size} max={3} progress={days} stroke="rgb(76,114,163)">
|
<ProgressCircle size={size} max={3} progress={days} stroke="rgb(76,114,163)">
|
||||||
|
|
Loading…
Reference in New Issue