chore: constants file, styling, and seek component
This commit is contained in:
@@ -1,5 +1,26 @@
|
||||
import React from "react";
|
||||
import React, { Component } from "react";
|
||||
import isToday from "date-fns/is_today";
|
||||
|
||||
const Year = () => <div>Year</div>;
|
||||
import Seek from "../../Seek";
|
||||
|
||||
class Year extends Component {
|
||||
render() {
|
||||
const {
|
||||
match: {
|
||||
params: { year }
|
||||
}
|
||||
} = this.props;
|
||||
return (
|
||||
<div>
|
||||
<Seek
|
||||
title={year}
|
||||
prev={"Asdf"}
|
||||
next={"asdf"}
|
||||
disableNext={isToday(new Date())}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default Year;
|
||||
|
||||
Reference in New Issue
Block a user