mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
type(slider): improve eventName type (#51156)
This commit is contained in:
parent
42a3770e7d
commit
f83c588b55
@ -267,7 +267,7 @@ const Slider = React.forwardRef<SliderRef, SliderSingleProps | SliderRangeProps>
|
||||
const nodeProps = node.props;
|
||||
|
||||
function proxyEvent(
|
||||
eventName: string,
|
||||
eventName: keyof React.DOMAttributes<HTMLElement>,
|
||||
event: React.SyntheticEvent,
|
||||
triggerRestPropsEvent?: boolean,
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user