From 49471d183b5a957936da62449b0fc159fdb8ac5c Mon Sep 17 00:00:00 2001 From: hongfaqiu <951142905@qq.com> Date: Wed, 30 Oct 2024 19:55:30 +0800 Subject: [PATCH] chore(demo): use inputnumber --- example/src/components/ControlPanel.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/example/src/components/ControlPanel.tsx b/example/src/components/ControlPanel.tsx index 3d9b532..953519b 100644 --- a/example/src/components/ControlPanel.tsx +++ b/example/src/components/ControlPanel.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { Card, Slider, Switch, Space, Tooltip, Typography, Form, InputNumber } from 'antd'; +import { Card, Switch, Space, Tooltip, Typography, Form, InputNumber } from 'antd'; import { WindLayer, WindLayerOptions } from 'cesium-wind-layer'; import { QuestionCircleOutlined } from '@ant-design/icons'; import ColorTableInput from './ColorTableInput'; @@ -295,7 +295,7 @@ export const ControlPanel: React.FC = ({ } > - + = ({ 'Height of particles above the ground in meters.' )} > - + = ({ 'Width of particle trails in pixels. Controls the width of the particles.' )} > - + = ({ 'Factor to adjust the speed of particles. Controls the movement speed of particles.' )} > - + = ({ 'Rate at which particles are dropped (reset). Controls the lifecycle of particles.' )} > - + = ({ 'Additional drop rate for slow-moving particles. Increases the probability of dropping particles when they move slowly.' )} > - +