Merge pull request #2368 from hsldymq/fix-timeline-align

fix: type TimelineVerticalAlignType declaration #2367
pull/2393/head
Tuğçe Küçükoğlu 2022-04-04 15:37:21 +03:00 committed by GitHub
commit 7e3a062369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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;