mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* feat(types): [utils] add ExtractPublicPropTypes type * feat(types): [components] add props public type * chore(types): use type-only import for Prop from 'vue' Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> --------- Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
16 lines
437 B
TypeScript
16 lines
437 B
TypeScript
import { buildProps } from '@element-plus/utils'
|
|
import { classType, column } from './common'
|
|
|
|
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'
|
|
|
|
export const tableV2HeaderCell = buildProps({
|
|
class: classType,
|
|
columnIndex: Number,
|
|
column,
|
|
})
|
|
|
|
export type TableV2HeaderCell = ExtractPropTypes<typeof tableV2HeaderCell>
|
|
export type TableV2HeaderCellPublic = __ExtractPublicPropTypes<
|
|
typeof tableV2HeaderCell
|
|
>
|