Merge pull request #2368 from hsldymq/fix-timeline-align
fix: type TimelineVerticalAlignType declaration #2367pull/2393/head
commit
7e3a062369
|
@ -9,7 +9,7 @@ const TimelineProps = [
|
|||
name: "align",
|
||||
type: "string",
|
||||
default: "left",
|
||||
description: 'Position of the timeline bar relative to the content. Valid values are "left", "right" for vertical layout and "top", "bottom" for horizontal layout.'
|
||||
description: 'Position of the timeline bar relative to the content. Valid values are "left", "right" and "alternate" for vertical layout and "top", "bottom" for horizontal layout.'
|
||||
},
|
||||
{
|
||||
name: "layout",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
type TimelineVerticalAlignType = 'left' | 'right' | undefined;
|
||||
type TimelineVerticalAlignType = 'left' | 'right' | 'alternate' | undefined;
|
||||
|
||||
type TimelineHorizontalAlignType = 'top' | 'bottom' | undefined;
|
||||
|
||||
|
|
Loading…
Reference in New Issue