feat: add space

This commit is contained in:
2023-04-17 08:08:22 +08:00
parent e5896c093a
commit 27f2980768
11 changed files with 431 additions and 52 deletions

View File

@ -0,0 +1,12 @@
import { useState } from '@v-c/utils'
import { onMounted } from 'vue'
import { detectFlexGapSupported } from '../style-checker'
export default () => {
const [flexible, setFlexible] = useState(false)
onMounted(() => {
setFlexible(detectFlexGapSupported())
})
return flexible
}