init
This commit is contained in:
12
uni_modules/nutui-uni/components/safearea/safearea.ts
Normal file
12
uni_modules/nutui-uni/components/safearea/safearea.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ExtractPropTypes, PropType } from 'vue'
|
||||
import { commonProps } from '../_utils'
|
||||
|
||||
export const safeareaProps = {
|
||||
...commonProps,
|
||||
/**
|
||||
* @description 安全区的位置
|
||||
*/
|
||||
position: String as PropType<'top' | 'bottom'>,
|
||||
}
|
||||
|
||||
export type SafeAreaProps = ExtractPropTypes<typeof safeareaProps>
|
||||
Reference in New Issue
Block a user