From f8c5b6b274a46fa5d88fbdb8e4eedc1ee3e5510e Mon Sep 17 00:00:00 2001 From: Simon Buchan Date: Thu, 1 Feb 2018 22:13:21 +1300 Subject: [PATCH] TextSpecificProps are optional. --- index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.d.ts b/index.d.ts index e7e8e720..61df094a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -292,11 +292,11 @@ export interface TSpanProps extends CommonPathProps, FontProps { export const TSpan: React.ComponentClass; export interface TextSpecificProps extends CommonPathProps, FontProps { - alignmentBaseline: AlignmentBaseline, - baselineShift: BaselineShift, - verticalAlign: NumberProp, - lengthAdjust: LengthAdjust, - textLength: NumberProp, + alignmentBaseline?: AlignmentBaseline, + baselineShift?: BaselineShift, + verticalAlign?: NumberProp, + lengthAdjust?: LengthAdjust, + textLength?: NumberProp, fontData?: null | { [name: string]: any }, fontFeatureSettings?: string, }