mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-26 06:55:07 +08:00
feat(utils): export utils hooks
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { default as useBodyScroll } from './use-body-scroll'
|
||||
import { default as useClickAnywhere } from './use-click-anywhere'
|
||||
import { default as useClickAway } from './use-click-away'
|
||||
import { default as useClipboard } from './use-clipboard'
|
||||
import { default as useCurrentState } from './use-current-state'
|
||||
import { default as useRealShape } from './use-real-shape'
|
||||
import { default as useResize } from './use-resize'
|
||||
import { default as useSSR } from './use-ssr'
|
||||
import { default as withDefaults } from './with-defaults'
|
||||
|
||||
export default {
|
||||
withDefaults,
|
||||
useBodyScroll,
|
||||
useClickAnywhere,
|
||||
useClickAway,
|
||||
useClipboard,
|
||||
useCurrentState,
|
||||
useRealShape,
|
||||
useResize,
|
||||
useSSR,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user