We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24c276 commit 1b812eeCopy full SHA for 1b812ee
client/packages/lowcoder/src/comps/comps/navComp/navComp.tsx
@@ -36,20 +36,13 @@ type IProps = {
36
$borderColor: string;
37
$borderWidth: string;
38
$borderRadius: string;
39
- $animationStyle: AnimationStyleType;
+ $animationStyle:AnimationStyleType;
40
};
41
42
const Wrapper = styled('div')<
43
- Pick<
44
- IProps,
45
- | '$bgColor'
46
- | '$borderColor'
47
- | '$borderWidth'
48
- | '$borderRadius'
49
- | '$animationStyle'
50
- >
51
->`
52
- ${(props) => props.$animationStyle}
+ Pick<IProps, '$bgColor' | '$borderColor' | '$borderWidth' | '$borderRadius'|'$animationStyle'>
+ >`
+${props=>props.$animationStyle}
53
height: 100%;
54
border-radius: ${(props) =>
55
props.$borderRadius ? props.$borderRadius : '2px'};
0 commit comments