mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
12 lines
261 B
TypeScript
12 lines
261 B
TypeScript
import { onMounted, shallowRef } from 'vue';
|
|
import { detectFlexGapSupported } from '../styleChecker';
|
|
|
|
export default () => {
|
|
const flexible = shallowRef(false);
|
|
onMounted(() => {
|
|
flexible.value = detectFlexGapSupported();
|
|
});
|
|
|
|
return flexible;
|
|
};
|