- {(cardType === CardTypes.STATS || cardType === CardTypes.TOP_LANGS) && (
+ {(cardType === CardTypes.STATS ||
+ cardType === CardTypes.TOP_LANGS ||
+ cardType === CardTypes.WAKATIME) && (
)}
- {cardType === CardTypes.STATS && (
+ {(cardType === CardTypes.STATS || cardType === CardTypes.WAKATIME) && (
)}
- {cardType === CardTypes.TOP_LANGS && (
+ {(cardType === CardTypes.TOP_LANGS ||
+ cardType === CardTypes.WAKATIME) && (
+ )}
+ {cardType === CardTypes.WAKATIME && (
+
)}
{(cardType === CardTypes.STATS ||
@@ -74,7 +88,7 @@ const CustomizeStage = ({
setVariable={setEnableAnimations}
/>
)}
- {cardType === CardTypes.PIN && (
+ {(cardType === CardTypes.PIN || cardType === CardTypes.GIST) && (
)}
+ {cardType === CardTypes.WAKATIME && (
+
+ )}
@@ -105,8 +128,10 @@ const CustomizeStage = ({
CustomizeStage.propTypes = {
selectedCard: PropTypes.string.isRequired,
- selectedLayout: PropTypes.object.isRequired,
- setSelectedLayout: PropTypes.func.isRequired,
+ selectedLanguagesLayout: PropTypes.object.isRequired,
+ setSelectedLanguagesLayout: PropTypes.func.isRequired,
+ selectedWakatimeLayout: PropTypes.object.isRequired,
+ setSelectedWakatimeLayout: PropTypes.func.isRequired,
showTitle: PropTypes.bool.isRequired,
setShowTitle: PropTypes.func.isRequired,
descriptionLines: PropTypes.number.isRequired,
@@ -119,6 +144,8 @@ CustomizeStage.propTypes = {
setLangsCount: PropTypes.func.isRequired,
enableAnimations: PropTypes.bool.isRequired,
setEnableAnimations: PropTypes.func.isRequired,
+ usePercent: PropTypes.bool.isRequired,
+ setUsePercent: PropTypes.func.isRequired,
fullSuffix: PropTypes.string.isRequired,
};