ant-design/components/config-provider/demo/useConfig.md
xliez 0d67bde239
feat: add useConfig hook to ConfigProvider (#40215)
* feat: add useConfig hook to ConfigProvider

* docs: format config-provide markdown

* doc: add available version

* test: add useConfig test

* docs: add debug

* chore: fix lint error

* fix: getter dead loop

* test: promote useConfig test coverage

* docs(ConfigProvider): update available version
2023-02-14 17:39:35 +08:00

209 B

zh-CN

获取父级 Provider 的值。如 DisabledContextProviderSizeContextProvider

en-US

Get the value of the parent Provider. Such as DisabledContextProvider, SizeContextProvider.