ISSUE-001 - Playing around quite a bit. Not sure I've figured out a method of constructing the tool page I'm happy with here. Want to take a different path and see what I can do.

This commit is contained in:
Kyle Geib committed 2021-12-20 15:45:53 -05:00
1 parent c6f5899510
commit c3b268da61
22 files changed
+412 -33

No files matched your search

@@ -0,0 +1,16 @@
import React from "react";
import { Container } from "./styles";
type RouteHeaderProps = {
title: string,
};
export const RouteHeader = React.forwardRef<HTMLHeadElement, RouteHeaderProps>(
(props, ref) => (
<Container ref={ref}>
{props.title}
</Container>
),
);
RouteHeader.displayName = "RouteHeader"; // Required due to forwardRef().
@@ -0,0 +1 @@
export * from "./RouteHeader";
@@ -0,0 +1,11 @@
import styled from "styled-components";
export const Container = styled.header`
top: 0;
left: 0;
right: 0;
z-index: 5;
padding: 0;
background-color: ${p => p.theme.colors.grey};
height: 20px;
`;