Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19692fd

Browse files
author
Faran
committed
styled components syntax
1 parentf86fcd3 commit19692fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎client/packages/lowcoder/src/comps/comps/tableLiteComp/parts/TableContainer.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const MainContainer = styled.div<{
88
$mode:'AUTO'|'FIXED';
99
$showHorizontalScrollbar:boolean;
1010
$showVerticalScrollbar:boolean;
11-
virtual:boolean;
11+
$virtual:boolean;
1212
}>`
1313
display: flex;
1414
flex-direction: column;
@@ -18,13 +18,13 @@ const MainContainer = styled.div<{
1818
/* Critical CSS controls for SimpleBar */
1919
2020
21-
${props=>(!props.$showHorizontalScrollbar||props.virtual)&&`
21+
${props=>(!props.$showHorizontalScrollbar||props.$virtual)&&`
2222
div.simplebar-horizontal {
2323
visibility: hidden !important;
2424
}
2525
`}
2626
27-
${props=>(!props.$showVerticalScrollbar||props.virtual)&&`
27+
${props=>(!props.$showVerticalScrollbar||props.$virtual)&&`
2828
div.simplebar-vertical {
2929
visibility: hidden !important;
3030
}
@@ -133,7 +133,7 @@ export const TableContainer: React.FC<TableContainerProps> = ({
133133
ref={containerRef}
134134
$showHorizontalScrollbar={showHorizontalScrollbar}
135135
$showVerticalScrollbar={showVerticalScrollbar}
136-
virtual={virtual}
136+
$virtual={virtual}
137137
>
138138
{/* Sticky above toolbar - always visible */}
139139
{stickyToolbar&&toolbarPosition==='above'&&showToolbar&&(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp