chore: update ant-design dependencies and add new icon types
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import { useContext } from 'react';
|
||||
import DisabledContext from '../DisabledContext';
|
||||
import SizeContext from '../SizeContext';
|
||||
function useConfig() {
|
||||
const componentDisabled = useContext(DisabledContext);
|
||||
const componentSize = useContext(SizeContext);
|
||||
return {
|
||||
componentDisabled,
|
||||
componentSize
|
||||
};
|
||||
}
|
||||
export default useConfig;
|
||||
Reference in New Issue
Block a user