UNPKG
fanyucomponents
Version:
latest (2.11.2)
2.11.2
2.11.1
2.11.0
2.10.16
2.10.15
2.10.14
2.10.13
2.10.12
2.10.11
2.10.10
2.10.9
2.10.8
2.10.7
2.10.6
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.3
2.9.2
2.9.1
2.9.0
2.8.3
2.8.2
2.8.1
2.8.0
2.7.3
2.7.2
2.7.1
2.7.0
2.6.0
2.5.8
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.3
2.4.2
2.4.1
2.4.0
2.3.15
2.3.14
2.3.13
2.3.12
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.17
2.2.16
2.2.15
2.2.14
2.2.13
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
一款以 純邏輯為核心、無樣式綁定 的 React 元件套件
github.com/fanyuuu2006/fanyu-components
fanyuuu2006/fanyu-components
fanyucomponents
/
dist
/
utils
/
withStopPropagation.d.ts
8 lines
(7 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
"react"
;
/** * 攔截指定的事件並自動 stopPropagation *
@param
child React element *
@returns
React element */
export
declare
const
withStopPropagation
:
(
child
:
React
.
ReactNode
) =>
React
.
ReactNode
;