mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2025-06-11 18:43:22 +02:00
Lazy loading for map
This commit is contained in:
@ -32,7 +32,7 @@ const ColorPicker = (props: {
|
||||
<Box component="div" sx={{ m: 2 }}>
|
||||
<ReactColorPicker
|
||||
color={props.colorModel.getValue() || '#fff'}
|
||||
onChangeComplete={(color) => {
|
||||
onChangeComplete={(color: { hex: string }) => {
|
||||
props.colorModel.setValue(color.hex);
|
||||
props.closeModal();
|
||||
}}
|
||||
@ -40,7 +40,7 @@ const ColorPicker = (props: {
|
||||
width={216}
|
||||
circleSpacing={9}
|
||||
circleSize={18}
|
||||
></ReactColorPicker>
|
||||
/>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user