File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,7 @@ const Grid = styled.div`
62
62
}
63
63
`
64
64
65
- const Box = styled . div < {
66
- color ?: string
67
- } > `
65
+ const Box = styled . div `
68
66
position: relative;
69
67
color: ${ ( { theme } ) => theme . colors . text } ;
70
68
height: 20rem;
@@ -111,14 +109,12 @@ const Lines = styled.div`
111
109
112
110
const ButtonContainer = styled . div < { dir ?: Direction } > `
113
111
position: absolute;
114
- ${ ( { dir } ) => ( dir === "rtl" ? "left: " : "right: " ) } 20px;
112
+ ${ ( { dir } ) => ( dir === "rtl" ? "left" : "right" ) } : 20px;
115
113
bottom: 20px;
116
114
font-family: ${ ( props ) => props . theme . fonts . monospace } ;
117
115
`
118
116
119
- const Button = styled . button < {
120
- color : string
121
- } > `
117
+ const Button = styled . button < { color : string } > `
122
118
background: ${ ( props ) => props . theme . colors . background } ;
123
119
font-family: ${ ( props ) => props . theme . fonts . monospace } ;
124
120
font-size: 1.25rem;
@@ -134,9 +130,7 @@ const Button = styled.button<{
134
130
}
135
131
`
136
132
137
- const ButtonToggle = styled ( Button ) < {
138
- active : boolean
139
- } > `
133
+ const ButtonToggle = styled ( Button ) < { active : boolean } > `
140
134
${ ( { active, theme } ) =>
141
135
active &&
142
136
`
You can’t perform that action at this time.
0 commit comments