mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
- Update legacy syntax to script setup for popper - Update tests due to changes - Move popper/token to element-plus/tokens
13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
import { buildProps } from '@element-plus/utils'
|
|
|
|
import type { ExtractPropTypes } from 'vue'
|
|
|
|
export const usePopperArrowProps = buildProps({
|
|
arrowOffset: {
|
|
type: Number,
|
|
default: 5,
|
|
},
|
|
} as const)
|
|
|
|
export type UsePopperArrowProps = ExtractPropTypes<typeof usePopperArrowProps>
|