mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-12 23:32:19 +02:00
Fix transient props for styled-components v6
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import styled from 'styled-components';
|
||||
|
||||
export const LibraryBackgroundOverlay = styled.div<{ backgroundColor?: string }>`
|
||||
export const LibraryBackgroundOverlay = styled.div<{ $backgroundColor?: string }>`
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
width: 100%;
|
||||
@@ -8,7 +8,7 @@ export const LibraryBackgroundOverlay = styled.div<{ backgroundColor?: string }>
|
||||
min-height: 200px;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
background: ${(props) => props.backgroundColor};
|
||||
background: ${(props) => props.$backgroundColor};
|
||||
background-image: var(--bg-subheader-overlay);
|
||||
opacity: 0.3;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user