10 lines
216 B
TypeScript
Raw Normal View History

2023-03-26 15:49:59 +08:00
import { useProviderConfigState } from '../context'
export const useConfig = () => {
const { componentDisabled, componentSize } = useProviderConfigState()
return {
componentDisabled,
componentSize
}
}