mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2024-11-10 09:39:15 +08:00
10 lines
216 B
TypeScript
10 lines
216 B
TypeScript
import { useProviderConfigState } from '../context'
|
|
|
|
export const useConfig = () => {
|
|
const { componentDisabled, componentSize } = useProviderConfigState()
|
|
return {
|
|
componentDisabled,
|
|
componentSize
|
|
}
|
|
}
|