ISSUE-020 - Plain, static SlotSelector component defined. Not too fancy looking.

To save space and reduce redundant data I created a utility function called findPrefixCount() and wrote a suite of tests for it.
This commit is contained in:
Kyle Geib committed 2022-01-14 17:16:27 -05:00
1 parent 6a8e5f28b2
commit 35ca424dd6
6 files changed
+163 -20

No files matched your search

@@ -0,0 +1,27 @@
import styled from "styled-components";
export const SlotWindow = styled.div`
position: relative;
height: 1.2em;
height: 100%;
width: 200px;
border-radius: 0.6em;
background-color: white;
box-shadow: inset 0 0 50px -50px ${p => p.theme.colors.darkGrey};
border: 1px solid ${p => p.theme.colors.darkGrey};
cursor: pointer;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
`;
export const SlotText = styled.span`
margin-left: .4em;
position: relative;
font-family: ${p => p.theme.fonts.f1Regular};
color: ${p => p.theme.colors.darkGrey};
user-select: none;
`;