Skip to content

Commit 96f83e6

Browse files
committed
rotation added to container
1 parent c910778 commit 96f83e6

File tree

6 files changed

+985
-555
lines changed

6 files changed

+985
-555
lines changed

client/packages/lowcoder/src/comps/comps/numberInputComp/sliderCompConstants.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const SliderStyled = styled(Slider)<{
7171
`;
7272

7373
export const SliderWrapper = styled.div<{
74-
$style: SliderStyleType;
74+
$style?: SliderStyleType;
7575
vertical: boolean;
7676
}>`
7777
width: 100%;
@@ -80,7 +80,7 @@ export const SliderWrapper = styled.div<{
8080
justify-content: center;
8181
.ant-slider {
8282
width: 100%;
83-
rotate: ${(props) => props.$style.rotation};
83+
rotate: ${(props) => props?.$style?.rotation};
8484
}
8585
`;
8686

0 commit comments

Comments
 (0)