element-plus/packages/hooks/index.ts
jeremywu c8d65bf43d
feat(locale): locale-provider (#2662)
- Add a component for providing configs
- Add `use-locale` hooks into hooks for composable usage
- Add `use-locale` for `config-provider` to allow user to provide locale config via `react-like` API
- Add test cases against these new features
2021-07-25 15:26:00 +08:00

16 lines
756 B
TypeScript

export { default as useAttrs } from './use-attrs'
export { default as useEvents } from './use-events'
export { default as useLockScreen } from './use-lockscreen'
export { default as useRestoreActive } from './use-restore-active'
export { default as useModal } from './use-modal'
export { default as useMigrating } from './use-migrating'
export { default as useFocus } from './use-focus'
export { default as useThrottleRender } from './use-throttle-render'
export { default as usePreventGlobal } from './use-prevent-global'
export { default as useTeleport } from './use-teleport'
export { default as useTimeout } from './use-timeout'
export * from './use-model-toggle'
export * from './use-popper'
export * from './use-css-var'
export * from './use-locale'