ISSUE-047 - Exported animated versions of a pair of styled-components of mine.
Nothing special. Just something I wanted to change now.
This commit is contained in:
1 parent
9db41c5a37
commit
c6411950f3
4 files changed
+13
-7
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { animated } from "@react-spring/web";
|
||||
import styled from "styled-components";
|
||||
|
||||
type SlotWindowProps = {
|
||||
@@ -35,6 +36,9 @@ export const SlotText = styled.span`
|
||||
`;
|
||||
SlotText.displayName = "SlotText";
|
||||
|
||||
export const AnimatedSlotText = animated(SlotText);
|
||||
AnimatedSlotText.displayName = "AnimatedSlotText";
|
||||
|
||||
export const SelectorLabel = styled.span`
|
||||
font-family: ${p => p.theme.fonts.f1Regular};
|
||||
font-size: ${p => p.theme.fontSizes.label};
|
||||
|
||||
Reference in new issue
Block a user