File tree 1 file changed +3
-3
lines changed
client/packages/lowcoder/src/comps/comps/buttonComp
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { default as Dropdown } from "antd/es/dropdown";
3
3
import { default as DropdownButton } from "antd/es/dropdown/dropdown-button" ;
4
4
import { BoolControl } from "comps/controls/boolControl" ;
5
5
import { BoolCodeControl , StringControl } from "comps/controls/codeControl" ;
6
- import { DropdownStyle } from "comps/controls/styleControlConstants" ;
6
+ import { DropdownStyle , DropdownStyleType } from "comps/controls/styleControlConstants" ;
7
7
import { withDefault } from "comps/generators" ;
8
8
import { UICompBuilder } from "comps/generators/uiCompBuilder" ;
9
9
import { disabledPropertyView , hiddenPropertyView } from "comps/utils/propertyUtils" ;
@@ -33,7 +33,7 @@ const StyledDropdownButton = styled(DropdownButton)`
33
33
}
34
34
` ;
35
35
36
- const LeftButtonWrapper = styled . div < { $buttonStyle : any } > `
36
+ const LeftButtonWrapper = styled . div < { $buttonStyle : DropdownStyleType } > `
37
37
width: calc(100%);
38
38
${ ( props ) => `margin: ${ props . $buttonStyle . margin } ;` }
39
39
margin-right: 0;
@@ -63,7 +63,7 @@ const LeftButtonWrapper = styled.div<{ $buttonStyle: any }>`
63
63
64
64
` ;
65
65
66
- const RightButtonWrapper = styled . div < { $buttonStyle : any } > `
66
+ const RightButtonWrapper = styled . div < { $buttonStyle : DropdownStyleType } > `
67
67
// width: 32px;
68
68
${ ( props ) => `margin: ${ props . $buttonStyle . margin } ;` }
69
69
margin-left: -1px;
You can’t perform that action at this time.
0 commit comments