TextSpecificProps are optional.

This commit is contained in:
Simon Buchan
2018-02-01 22:13:21 +13:00
parent 815b842fe5
commit f8c5b6b274
Vendored
+5 -5
View File
@@ -292,11 +292,11 @@ export interface TSpanProps extends CommonPathProps, FontProps {
export const TSpan: React.ComponentClass<TSpanProps>;
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,
}